MCPcopy Index your code
hub / github.com/python/cpython / sigchild_ignore.py

File sigchild_ignore.py

Lib/test/subprocessdata/sigchild_ignore.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import signal, subprocess, sys, time
2# On Linux this causes os.waitpid to fail with OSError as the OS has already
3# reaped our child process. The wait() passing the OSError on to the caller
4# and causing us to exit with an error is what we are testing against.

Callers

nothing calls this directly

Calls 3

waitMethod · 0.45
pollMethod · 0.45
sleepMethod · 0.45

Tested by

no test coverage detected