in reply to Perl Forking : perform some action until child process dies
where the above is copied from waitpid. Note that not all systems support non-blocking calls to waitpid. See also perlipc.use POSIX ":sys_wait_h"; #... do { $kid = waitpid(-1, WNOHANG); } while $kid > 0;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Perl Forking : perform some action until child process dies
by robrt (Novice) on Sep 03, 2010 at 04:48 UTC |