MCPcopy Index your code
hub / github.com/emscripten-core/emsdk / run

Function run

emsdk.py:474–480  ·  view source on GitHub ↗
(cmd, cwd=None, quiet=False)

Source from the content-addressed store, hash-verified

472
473
474def run(cmd, cwd=None, quiet=False):
475 debug_print(f'run(cmd={cmd}, cwd={cwd})')
476 process = subprocess.Popen(cmd, cwd=cwd, env=os.environ.copy())
477 process.communicate()
478 if process.returncode != 0 and not quiet:
479 errlog(f'{cmd} failed with error code {process.returncode}')
480 return process.returncode
481
482
483# http://pythonicprose.blogspot.fi/2009/10/python-extract-targz-archive.html

Callers 4

untargzFunction · 0.85
git_cloneFunction · 0.85
git_pullFunction · 0.85
download_firefoxFunction · 0.85

Calls 2

debug_printFunction · 0.85
errlogFunction · 0.85

Tested by

no test coverage detected