PyDocs

Nav

Generic Operating System Services

waitid

os

function · Added in 3.3Unixnot WASInot Androidnot iOS
  • waitid(idtype, id, options, /)
Returns the result of waiting for a process or processes.

  idtype
    Must be one of be P_PID, P_PGID or P_ALL.
  id
    The id to wait on.
  options
    Constructed from the ORing of one or more of WEXITED, WSTOPPED
    or WCONTINUED and additionally may be ORed with WNOHANG or WNOWAIT.

Returns either waitid_result or None if WNOHANG is specified and there
are no children in a waitable state.
Changed in 3.13
  • 3.13: This function is now available on macOS as well.
0 Examples
No examples for os/waitid.
See Also
No see-alsos for os/waitid
0 Notes
No notes for waitid