I run process on unix through runtime.exec() method.
But my process termintaes before chid process terminates.
How can I trap that child process termination.
The process.waitfor method block for while until the process terminates..
Can anyone tell me how can I get process information randomly until the main process terminates and it's child processes also throgh java..
Plz send me the solution immediately
But my process termintaes before chid process terminates.
How can I trap that child process termination.
The process.waitfor method block for while until the process terminates..
Can anyone tell me how can I get process information randomly until the main process terminates and it's child processes also throgh java..
Plz send me the solution immediately
Comment