Change by William D. Jones :
--
title: Script using ProactorEventLoop does not exit cleanly on Windows with
multiple subprocesses -> Script using ProactorEventLoop does not exit cleanly
when subprocesses are spawned.
___
Python tracker
<
William D. Jones added the comment:
Update: It turns out multiple spawned subprocesses are NOT required. If I
replace "(short_fut, _) = await spawn()" with "short_fut =
asyncio.ensure_future(asyncio.sleep(4))", t
New submission from William D. Jones :
On Windows 7, when using ProactorEventLoop, when asyncio.subprocess.terminate
is called on the last subprocess when multiple subprocesses are spawned*, the
last subprocess will never exit, and the Python interpreter will never exit.
Spawning an