MCPcopy
hub / github.com/ampproject/amphtml / getStdout

Function getStdout

build-system/common/process.js:48–50  ·  view source on GitHub ↗

* Executes the provided command, returning its stdout. * @param {string} cmd * @param {?Object=} options * @return {string}

(cmd, options)

Source from the content-addressed store, hash-verified

46 * @return {string}
47 */
48function getStdout(cmd, options) {
49 return getOutput(cmd, options).stdout;
50}
51
52/**
53 * Executes the provided command, returning its stderr.

Callers 15

installAmpTaskRunnerFunction · 0.85
generateListFunction · 0.85
runCheckFunction · 0.85
overrideTocGlobFunction · 0.85
affectsWorkingTreeFunction · 0.85
diffTentativeFunction · 0.85
checkNodeVersionFunction · 0.85
logNpmVersionFunction · 0.85
checkPythonVersionFunction · 0.85
gitBranchCreationPointFunction · 0.85

Calls 1

getOutputFunction · 0.70

Tested by

no test coverage detected