How to tell if a forked process is done?

Klaus Alexander Seistrup spam at magnetic-ink.dk
Thu Sep 25 08:22:44 CEST 2003


Erik Max Francis wrote:

>> killing blindly is bad programming practice.
>
> But he's killing with a signal of 0.  From kill(2):
>
>        If sig is 0, then no signal is sent, but error checking is
>        still performed.
>
> It's perfectly reasonable behavior to kill a process with a 0 signal;
> it does no harm.

I overlooked that detail, thanks for correcting me.


  // Klaus

-- 
 ><> 	unselfish actions pay back better




More information about the Python-list mailing list