in reply to fork/reaper
-
I'm not sure to understand how waitpid works, as my script always dies returning "No children at test.pl lineXX".
IIRC by the time your handler is called your child has already died.
Peter L. Berghold -- Unix Professional Peter at Berghold dot Net | |
Dog trainer, dog agility exhibitor, brewer of fine Belgian style ales. Happiness is a warm, tired, contented dog curled up at your side and a good Belgian ale in your chalice. |
In Section
Seekers of Perl Wisdom