We don't bite newbies here... much | |
PerlMonks |
Re: fork exits prematurely leaving zombiesby Steve_p (Priest) |
on May 11, 2004 at 19:20 UTC ( [id://352558]=note: print w/replies, xml ) | Need Help?? |
My forking is a bit rusty, so hopefully, I'm getting this right. Since process A is the parent of process B, there should be a wait there. Otherwise if process A finishes, it will wait on process C only. So, if process C finishes before process B, you'll get a zombie. The following may work a bit better.
In Section
Seekers of Perl Wisdom
|
|