Web lists-archives.com

Re: [Mingw-msys] Linking to wsock32




No no, "commande" is a variable that contains the name of the program

But I send the former mail just to say that I found to solution...


Stéphane



2008/10/28 Greg Chicares <gchicares@xxxxxxxxxxxxx>
On 2008-10-28 14:18Z, Stéphane CALANDE wrote:
>
> Runtime.getRuntime().exec(program.exe);
>
> But it doesn't work.

I don't know java, but let me take a wild guess:
try quoting the program name.

Runtime.getRuntime().exec("program.exe");

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url="">
_______________________________________________
Mingw-msys mailing list
Mingw-msys@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/mingw-msys

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Mingw-msys mailing list
Mingw-msys@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/mingw-msys