in reply to Child not Consistantly Terminating
A child process will remain a zombie forever until the parent cleans up it up properly. wait blocks until a child terminates and then returns the pid of that child...you can even watch for the child term signal in the parent, and in the signal handler call wait.my $dead_child_pid = wait;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Child not Consistantly Terminating
by sdl3 (Novice) on Feb 19, 2004 at 14:00 UTC |