MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / pid_from

Function pid_from

tests/windows/test_daemon_stability.py:69–71  ·  view source on GitHub ↗
(text)

Source from the content-addressed store, hash-verified

67
68
69def pid_from(text):
70 match = re.search(r"pid[: ]+(\d+)", text)
71 return int(match.group(1)) if match else 0
72
73
74def wait_status_not_running(binary, cache, deadline_s):

Callers 4

section_crash_recoveryFunction · 0.70
section_churn_stabilityFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected