[issue6394] getppid support in os module on Windows

Amaury Forgeot d'Arc report at bugs.python.org
Thu Jul 2 17:24:46 CEST 2009


Amaury Forgeot d'Arc <amauryfa at gmail.com> added the comment:

> Do these same issues exist on Unix systems?
No. When the parent exits, the child process is attached to the 'init'
process and getppid() returns 1.

And collisions are not rare at all. Actually it seems that you get the
same pid if you close and restart a program quickly.
That's why Windows apps prefer dealing with "process handles" instead of
"process ids"

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6394>
_______________________________________


More information about the Python-bugs-list mailing list