In message <[EMAIL PROTECTED]>, Michele Petrazzo wrote: > I have a code that execute into a "Popen" a command (ssh). I need that, > if the python process die, the parent pid (PPID) of the child don't > become 1 (like I can seen on /proc/$pid$/status ), but it has to die, > following it's parent > It's possible in linux and with subprocess?
There is a Linux-specific system call that says it does this (haven't tried). See the prctl(2) man page. -- http://mail.python.org/mailman/listinfo/python-list