> You are better off trying
>
> $SIG{CHLD} = 'IGNORE';
>
> at the top of your program and seeing if zombies are left out there.  If
> so then you might want to use pop or shift like this
>
> waitpid shift @children while @children;

Do I really need to hold the pid's of the kids process somewhere?
Can't I do something like that <code>my $forked =  fork; waitpid $forked,
&WNOHANG;</code>?
What do you think?

Thanks,

Ahmed


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to