os.wait4()

os.wait4(pid, options) -> (pid, status, rusage)

Wait for completion of a given child process.