One code suggestion I'd like to make. Consider using waitpid instead of wait. perldoc -f waitpid contains a code fragment you may want to use: a non-blocking loop that reaps all zombied children.
Abigail
In reply to Re: Reaping Child procs causing <defunct>????
by Abigail-II
in thread Reaping Child procs causing <defunct>????
by slydog
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |