asyncio.asyncio.subprocess.Process.wait()

coroutine wait()

Wait for child process to terminate. Set and return returncode attribute.

This method is a coroutine.

Note

This will deadlock when using stdout=PIPE or stderr=PIPE and the child process generates enough output to a pipe such that it blocks waiting for the OS pipe buffer to accept more data. Use the communicate() method when using pipes to avoid that.

doc_python
2016-10-07 17:26:39
Comments
Leave a Comment

Please login to continue.