Lawrence D'Oliveiro wrote:
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.

Just seen. It can be, bust since I cannot modify the child process and
this syscall must be called from the child, I cannot use it.

Thanks,
Michele
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to