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

Function pid_from

tests/test_daemon_open_readiness.py:46–48  ·  view source on GitHub ↗
(text)

Source from the content-addressed store, hash-verified

44
45
46def pid_from(text):
47 match = re.search(r"pid[: ]+(\d+)", text)
48 return int(match.group(1)) if match else 0
49
50
51def force_kill(pid):

Callers 3

assert_delayed_successFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected