PyDocs

Nav

Generic Operating System Services

waitpid

os

functionUnixWindowsnot WASInot Androidnot iOS
  • waitpid(pid, options, /)
Wait for completion of a given child process.

Returns a tuple of information regarding the child process:
    (pid, status)

The options argument is ignored on Windows.
Changed in 3.5
  • 3.5: If the system call is interrupted and the signal handler does not raise an exception, the function now retries the system call instead of raising an InterruptedError exception (see PEP 475 for the rationale).
0 Examples
No examples for os/waitpid.
See Also
No see-alsos for os/waitpid
0 Notes
No notes for waitpid