os.wait()

os.wait() -> (pid, status)

Wait for completion of a child process.