[issue39763] distutils.spawn should use subprocess (hang in parallel builds on QNX)

Elad Lahav report at bugs.python.org
Wed Feb 26 15:10:06 EST 2020


Elad Lahav <e2lahav at gmail.com> added the comment:

I'm not convinced that a multi-threaded fork()+exec() from C would be any better, unless the Python code goes to great lengths to avoid any non-async-signal-safe operations between the fork() and the exec().
So along with the proposed change to switch to the subprocess() module I would like to propose that that module switch to using posix_spawn() instead of fork()+exec().

----------
type: behavior -> 
versions:  -Python 3.9

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue39763>
_______________________________________


More information about the Python-bugs-list mailing list