subprocess and PPID

Michele Petrazzo michele.petrazzo at TOGLIunipex.it
Wed Nov 5 07:12:28 EST 2008


Hi all,
I believe that this is a *nix question, but since I'm developing in
python, I'm here.

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?

Thanks,
Michele



More information about the Python-list mailing list