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 <rep...@bugs.python.org> <http://bugs.python.org/issue24837> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com