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

Function run_cli

tests/windows/test_daemon_stability.py:49–53  ·  view source on GitHub ↗
(binary, cache, args, stdin=None, timeout=90)

Source from the content-addressed store, hash-verified

47
48
49def run_cli(binary, cache, args, stdin=None, timeout=90):
50 env = dict(os.environ)
51 env["CBM_CACHE_DIR"] = cache
52 return subprocess.run([binary] + args, capture_output=True, timeout=timeout,
53 env=env, input=stdin)
54
55
56def out_text(result):

Callers 8

wait_status_not_runningFunction · 0.70
section_paramsFunction · 0.70
section_hook_fail_openFunction · 0.70
section_crash_recoveryFunction · 0.70
_oneFunction · 0.70
section_churn_stabilityFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected