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.
Please login to continue.