MCPcopy Create free account
hub / github.com/emscripten-core/emscripten / exec

Function exec

tools/utils.py:62–69  ·  view source on GitHub ↗
(cmd)

Source from the content-addressed store, hash-verified

60
61
62def exec(cmd):
63 if WINDOWS:
64 rtn = run_process(cmd, stdin=sys.stdin, check=False).returncode
65 sys.exit(rtn)
66 else:
67 sys.stdout.flush()
68 sys.stderr.flush()
69 os.execvp(cmd[0], cmd)
70
71
72def exit_with_error(msg, *args):

Callers 3

parse_config_fileFunction · 0.85
read_js_settingsMethod · 0.85
childFunction · 0.85

Calls 2

run_processFunction · 0.85
flushMethod · 0.45

Tested by

no test coverage detected