subprocess leaves child living

Nick Craig-Wood nick at
Wed Jun 6 07:33:30 CEST 2007

Thomas Dybdahl Ahle <lobais at> wrote:
>  But you can't ever catch sigkill.
>  Isn't there a way to make sure the os kills the childprocess when the 
>  parrent dies?

Not as far as I know.

If you've got a pipe open to the child then killing the parent should
deliver SIGPIPE to the child which may (or may not) kill it.  At least
it got some sort of notification.

Nick Craig-Wood <nick at> --

More information about the Python-list mailing list