I\'m trying to start a script by the following command in Java:
proc = Runtime.getRuntime().exec(cmd, null, fwrkDir);
The command, typed in
Note that the second parameter to the exec() call in your example is null. The second parameter is where you set the environment for the command you are executing. If you are using Java 6, consider using ProcessBuilder.