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

Function pid_from

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

Source from the content-addressed store, hash-verified

126
127
128def pid_from(text):
129 match = re.search(r"pid[: ]+(\d+)", text)
130 return int(match.group(1)) if match else 0
131
132
133def wait_status_not_running(binary, cache, deadline_s):

Calls

no outgoing calls

Tested by

no test coverage detected