[issue35635] asyncio.create_subprocess_exec() only works in main thread

STINNER Victor report at bugs.python.org
Fri Jan 4 17:28:46 EST 2019


STINNER Victor <vstinner at redhat.com> added the comment:

By the way, asyncio doc is outdated:
"The default asyncio event loop implementation on Windows does not support subprocesses. Subprocesses are available for Windows if a ProactorEventLoop is used. See Subprocess Support on Windows for details."
https://docs.python.org/dev/library/asyncio-subprocess.html#creating-subprocesses

It's no longer true in Python 3.8:

"Changed in version 3.8: On Windows, ProactorEventLoop is now the default event loop."
https://docs.python.org/dev/library/asyncio-platforms.html

----------

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


More information about the Python-bugs-list mailing list