MCPcopy Index your code
hub / github.com/ampproject/amphtml / exec

Function exec

build-system/common/exec.js:22–24  ·  view source on GitHub ↗

* Executes the provided command with the given options, returning the process * object. * * @param {string} cmd * @param {?Object=} options * @return {!Object}

(cmd, options = {'stdio': 'inherit'})

Source from the content-addressed store, hash-verified

20 * @return {!Object}
21 */
22function exec(cmd, options = {'stdio': 'inherit'}) {
23 return spawnProcess(cmd, options);
24}
25
26/**
27 * Executes the provided shell script in an asynchronous process. Special-cases

Callers 15

define-template.jsFile · 0.85
output.jsFile · 0.85
output.jsFile · 0.85
output.jsFile · 0.85
output.jsFile · 0.85
output.jsFile · 0.85
output.jsFile · 0.85
buildStorybookFunction · 0.85
deleteBranchFunction · 0.85
fetchConfigFromBranch_Function · 0.85
execOrDieFunction · 0.85

Calls 1

spawnProcessFunction · 0.85

Tested by

no test coverage detected