S
S!mb@
hi all,
here is my code (for linux)
String command = "md toto";
Process child = Runtime.getRuntime().exec(command);
this code works perfectly, but this one under windows :
String command = "mkdir toto";
Process child = Runtime.getRuntime().exec(command);
generate a :
java.io.IOException: CreateProcess: mkdir toto error=2
Do you know what is the problem ?
I need to developp a software that works as good on Windows as on *n*x
Jerem
here is my code (for linux)
String command = "md toto";
Process child = Runtime.getRuntime().exec(command);
this code works perfectly, but this one under windows :
String command = "mkdir toto";
Process child = Runtime.getRuntime().exec(command);
generate a :
java.io.IOException: CreateProcess: mkdir toto error=2
Do you know what is the problem ?
I need to developp a software that works as good on Windows as on *n*x
Jerem