J
John Smith
when I double click on test.cmd within Windows Explorer it runs and
terminates fine by itself.
When I try running test.cmd via Java with the following, then the
process blocks "forever" on eqsKM.waitFor()
Process eqsKM = java.lang.Runtime.getRuntime().exec("H:\\Programs\
\Murex EQT PROD\\test.cmd", null, workingDir);
int exitValue = eqsKM.waitFor();
I opened up Task Manager and I see an instance of cmd.exe with 00 CPU
usage.
Any suggestions on why the Java app blocks on
int exitValue = eqsKM.waitFor();
And how to fix the hanging?
Thanks.
terminates fine by itself.
When I try running test.cmd via Java with the following, then the
process blocks "forever" on eqsKM.waitFor()
Process eqsKM = java.lang.Runtime.getRuntime().exec("H:\\Programs\
\Murex EQT PROD\\test.cmd", null, workingDir);
int exitValue = eqsKM.waitFor();
I opened up Task Manager and I see an instance of cmd.exe with 00 CPU
usage.
Any suggestions on why the Java app blocks on
int exitValue = eqsKM.waitFor();
And how to fix the hanging?
Thanks.