[issue39241] Popen of python3.6 hangs on os.read(errpipe_read, 50000)

STINNER Victor report at bugs.python.org
Wed Jan 8 07:50:37 EST 2020


STINNER Victor <vstinner at python.org> added the comment:

os.pipe() creates non-inheritable file descriptors by default, see PEP 446:

$ python3.6
Python 3.6.9 (default, Jul 26 2019, 00:00:00) 
>>> import os
>>> a,b=os.pipe()
>>> os.get_inheritable(a)
False
>>> os.get_inheritable(b)
False

----------
nosy: +vstinner

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


More information about the Python-bugs-list mailing list