process.waitFor()
Posted
by ashwani66476
on Stack Overflow
See other posts from Stack Overflow
or by ashwani66476
Published on 2010-05-03T13:39:05Z
Indexed on
2010/05/03
13:48 UTC
Read the original article
Hit count: 123
java
Hello Team,
I am using the below code in my application ...
Process process = Runtime.getRuntime().exec(
"perl " + perlScript + " " + project + " " + fileName);
:
:
:
result = process.waitFor();
:
:
and this result gives the code 2 every time.....while running the application.
what could be the reason for the "reason code" ???
Thanks In Advance
© Stack Overflow or respective owner