in reply to Child not Consistantly Terminating

You should probably use wait() in the parent to wait for the child to die at some point
my $dead_child_pid = wait;
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.

Replies are listed 'Best First'.
Re: Re: Child not Consistantly Terminating
by sdl3 (Novice) on Feb 19, 2004 at 14:00 UTC
    yup, yup... I'll look at making this more robust after I get consistant behavior from the the signal handling. I'm currently upgrading to AS 5.8.3.809 to see if the signal handling chages help me out.