[issue39763] distutils.spawn should use subprocess (hang in parallel builds on QNX)
Guido van Rossum
report at bugs.python.org
Thu Feb 27 12:15:24 EST 2020
Guido van Rossum <guido at python.org> added the comment:
The key is that os.execl() never returns.
My understanding is that the hang happens when the child code returns (or raises) in the forked child process, because the semaphore state is cloned by the fork.
There is no logging here. I just added some print() calls. (See the script I posted.)
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue39763>
_______________________________________
More information about the Python-bugs-list
mailing list