Runtime.exec() error codes
843798May 13 2003 — edited Jun 13 2003I am getting the following exception when I try doing...
r.exec ( "cmd/c start/b notepad" );
Want to diagnose but don't see the errorcode any where documented.
thanks in advance.
java.io.IOException: CreateProcess: start dir error=2
at java.lang.Win32Process.create(Native Method)
at java.lang.Win32Process.<init>(Win32Process.java:63)
at java.lang.Runtime.execInternal(Native Method)
at java.lang.Runtime.exec(Runtime.java:566)
at java.lang.Runtime.exec(Runtime.java:428)
at java.lang.Runtime.exec(Runtime.java:364)
at java.lang.Runtime.exec(Runtime.java:326)
at com.ugsolutions.aif.installer.Installer.main(Unknown Source)