No such thing as a small change | |
PerlMonks |
Re: Using 'kill' to see if a process is stil aliveby Zaxo (Archbishop) |
on Jul 29, 2004 at 19:22 UTC ( [id://378472]=note: print w/replies, xml ) | Need Help?? |
anbrus is almost right, but you don't need wait to get SIGCHLD. The os always sends you that when the child exits. You just need to handle it. Try setting $SIG{CHLD} = 'IGNORE'; before launching the child. After Compline,
In Section
Seekers of Perl Wisdom
|
|