|Problems? Is your data what you think it is?|
Waiting..by spaz (Pilgrim)
|on Feb 23, 2001 at 03:01 UTC||Need Help??|
spaz has asked for the wisdom of the Perl Monks concerning the following question:
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