Latest asyncio update: it has a new asyncio.subprocess submodule which
provides a high-level API to control subprocesses, similar to
subprocess.Popen but using asyncio event loop (and so is
asynchronous).

It solves the following old and tricky issue:
http://bugs.python.org/issue12187
"subprocess.wait() with a timeout uses polling on POSIX"

"yield from asyncio.wait_for(proc.wait(), timeout)" is no more a busy loop ;-)

Victor
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to