[issue1731717] race condition in subprocess module

Guido van Rossum report at bugs.python.org
Tue Nov 27 23:24:22 CET 2007


Guido van Rossum added the comment:

> Looking at the subprocess.py code it occurred to me that it never
> checks if the value of self.pid returned by os.fork is -1

What makes you think os.fork(0 can return -1? It's not C you know...

_____________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1731717>
_____________________________________


More information about the Python-bugs-list mailing list