in reply to (tye)Re: reaper subroutines
in thread reaper subroutines
Worse yet, the docs for POSIX in 5.7.2 give this example:use POSIX ":sys_wait_h"; #... do { $kid = waitpid(-1,&WNOHANG); } until $kid == -1;
You want to submit a doc patch to p5p or should I? :)$pid = POSIX::waitpid( -1, &POSIX::WNOHANG ); print "status = ", ($? / 256), "\n";
|
|---|