![]() |
|
Just another Perl shrine | |
PerlMonks |
perlfunc:waitpidby gods (Initiate) |
on Aug 24, 1999 at 22:43 UTC ( #355=perlfunc: print w/replies, xml ) | Need Help?? |
waitpidSee 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
![]() waitpid PID,FLAGS
![]()
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. |
|