|more useful options|
|on Aug 24, 1999 at 22:43 UTC||Need Help??|
See the current Perl documentation for waitpid.
Here is our local, out-dated (pre-5.6) version:
waitpid - wait for a particular child process to die
Waits for a particular child process to terminate and returns the pid of
the deceased process, or
use POSIX ":sys_wait_h"; #... waitpid(-1,&WNOHANG);
then you can do a non-blocking wait for any process. Non-blocking wait is available on machines supporting either the
See the perlipc manpage for other examples.