[Zope] Killing children process

Andreas Jung lists at zopyx.com
Thu Sep 7 12:11:02 EDT 2006



--On 7. September 2006 17:04:20 +0100 Alan <alanwilter at gmail.com> wrote:
>
> To simplify, I would like to know if python is able to kill a process
> and its 'family' without much hassle, and if so, how?
>

Perhaps you might learn about process groups on Unix and learn about the
os.killpg() command. However your issue is basically a non-Python issue
since the kill()/killpg() command is just a wrapper around the real methods 
of the libc.

-aj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 186 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope/attachments/20060907/61d207bd/attachment.bin


More information about the Zope mailing list