MCPcopy Create free account
hub / github.com/StarsTom/mobileCodexHelper / run_command

Function run_command

mobile_codex_control.py:266–277  ·  view source on GitHub ↗
(args: list[str], timeout: int = 20)

Source from the content-addressed store, hash-verified

264
265
266def run_command(args: list[str], timeout: int = 20) -> subprocess.CompletedProcess[str]:
267 return subprocess.run(
268 args,
269 capture_output=True,
270 text=True,
271 encoding="utf-8",
272 errors="replace",
273 timeout=timeout,
274 check=False,
275 cwd=str(WORKSPACE),
276 **subprocess_window_options(),
277 )
278
279
280def wait_for(predicate: Callable[[], bool], timeout: float, interval: float = 1.0) -> bool:

Callers 5

powershell_fileFunction · 0.85
run_powershell_jsonFunction · 0.85
load_tailscale_statusFunction · 0.85
load_serve_statusFunction · 0.85
perform_actionFunction · 0.85

Calls 2

runMethod · 0.80

Tested by

no test coverage detected