PyDocs

Nav

Generic Operating System Services

getppid

os

functionUnixWindowsnot WASI
  • getppid()
Return the parent's process id.

If the parent process has already exited, Windows machines will still
return its id; others systems will return the id of the 'init' proces
(1).
Changed in 3.2
  • 3.2: Added support for Windows.
0 Examples
No examples for os/getppid.
See Also
No see-alsos for os/getppid
0 Notes
No notes for getppid