XP is just a number | |
PerlMonks |
Re: Killing a hanging child processby ozone (Friar) |
on Sep 11, 2006 at 22:15 UTC ( [id://572417]=note: print w/replies, xml ) | Need Help?? |
You could use a non-blocking waitpid and simply time all the children, then signal/kill them if they go over whatever limits you set.
(from perldoc -f waitpid)
status of the child is in $? HTH!
In Section
Seekers of Perl Wisdom
|
|