[issue24837] await process.wait() does not work with a new_event_loop
STINNER Victor
report at bugs.python.org
Mon Aug 10 11:48:44 CEST 2015
STINNER Victor added the comment:
It's better to use asyncio.get_event_loop() to create the event loop.
Otherwise, you have to create manually the child watcher:
https://docs.python.org/dev/library/asyncio-subprocess.html#subprocess-and-threads
If I recall correctly, you have to call asyncio. get_child_watcher().
What is your OS?
Maybe subprocess_exec/shell may ensure that a child watcher exist. Maybe
only in debug mode?
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue24837>
_______________________________________
More information about the Python-bugs-list
mailing list