![]() |
|
more useful options | |
PerlMonks |
Waiting..by spaz (Pilgrim) |
on Feb 23, 2001 at 03:01 UTC ( [id://60383]=perlquestion: print w/replies, xml ) | Need Help?? |
spaz has asked for the wisdom of the Perl Monks concerning the following question:
Fellow Monks, In one of my scripts I start up several child processes as follows My question is this: If I were to build up a list of PID's, how could I wait for them all to exit, and if they don't exit after a certain amount of time, kill them? I've looked at perlipc and wait but I'm getting kind of confused about reaping and when to handle it. Could I use something like And then change To ? -- Dave
Back to
Seekers of Perl Wisdom
|
|