First page Back Continue Last page Overview Graphics

wait()

It can be useful to wait after the start of a subproces with wait() until the started script is is executed.

>>> process = subprocess.Popen(['ls','-l'], stdout=subprocess.PIPE)

>>> process.wait()

0