in reply to Ingoring Child Processes And glob()
This comes from my WebTechniques column on logging to a DBI database.## first, reap any zombies so child CPU is proper: { my $kid = waitpid(-1, 1); if ($kid > 0) { redo; } }
-- Randal L. Schwartz, Perl hacker
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
RE: Re: Ingoring Child Processes And glob()
by barndoor (Pilgrim) on Jul 28, 2000 at 17:19 UTC |