[issue36814] posix_spawn explicit file_actions=None throws error

anthony shaw report at bugs.python.org
Mon May 6 19:14:02 EDT 2019


anthony shaw <anthonyshaw at apache.org> added the comment:

After patch:

Python 3.8.0a3+ (heads/31968-dirty:c664b342a4, May  6 2019, 18:06:21) 
[Clang 10.0.1 (clang-1001.0.46.4)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import os
>>> os.posix_spawnp('whoami', ['whoami'], os.environ, file_actions=None)
17300
>>> anthonyshaw

----------

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


More information about the Python-bugs-list mailing list