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;
In reply to Re: Child not Consistantly Terminating
by mutated
in thread Child not Consistantly Terminating
by sdl3
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |