process.waitFor()
- by ashwani66476
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