wrongt has asked for the wisdom of the Perl Monks concerning the following question:
Hi,
I want that perl script while executing to wait for external java process to finish.
Can anybody point me to the right place how can i do that?
I try with function waitpid($pid,0); but this functions always return in $? = - 1 when i call it with existing process and nonexistent process pid.
Thanks in advance.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Make perl script to wait while external process is finish
by salva (Canon) on Nov 17, 2011 at 09:28 UTC | |
|
Re: Make perl script to wait while external process is finish
by Anonymous Monk on Nov 17, 2011 at 09:21 UTC |