MCPcopy
hub / github.com/pyodide/pyodide / run

Function run

tools/update_emscripten.py:16–23  ·  view source on GitHub ↗
(
    args: list[str | Path], check: bool = True, **kwargs: Any
)

Source from the content-addressed store, hash-verified

14
15
16def run(
17 args: list[str | Path], check: bool = True, **kwargs: Any
18) -> subprocess.CompletedProcess[Any]:
19 print(" ".join(str(x) for x in args))
20 result = subprocess.run(args, check=False, text=True, **kwargs)
21 if check and result.returncode:
22 sys.exit(result.returncode)
23 return result
24
25
26def setup_emscripten(oldtag: str) -> None:

Callers 5

setup_emscriptenFunction · 0.70
rebaseFunction · 0.70
update_patchesFunction · 0.70
update_struct_infoFunction · 0.70
commitFunction · 0.70

Calls 2

joinMethod · 0.80
runMethod · 0.45

Tested by

no test coverage detected