MCPcopy Index your code
hub / github.com/python/cpython / waitstatus_to_exitcode

Function waitstatus_to_exitcode

Lib/asyncio/unix_events.py:44–51  ·  view source on GitHub ↗
(status)

Source from the content-addressed store, hash-verified

42
43
44def waitstatus_to_exitcode(status):
45 try:
46 return os.waitstatus_to_exitcode(status)
47 except ValueError:
48 # The child exited, but we don't understand its status.
49 # This shouldn't happen, but if it does, let's just
50 # return that status; perhaps that helps debug it.
51 return status
52
53
54class _UnixSelectorEventLoop(selector_events.BaseSelectorEventLoop):

Callers 4

_spawnvefFunction · 0.85
_do_waitMethod · 0.85
_do_waitpidMethod · 0.85
_stop_lockedMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…