The new result is:$SIG{CHLD} = sub { my $pid = waitpid(-1, 0); print ">> eof PID $pid -> $?\n"; };
Other samples and techniques at perlipc (find REAPER ;)PARENT: PID is 3433 CHILD: PID is 3434, PPID is 3433 >> eof pid 3434 -> 0
--
Marco Antonio
Rio-PM
In reply to Re^3: Protection from zombies
by mda2
in thread Protection from zombies
by nomis80
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |