MCPcopy
hub / github.com/tensorflow/tfjs / exec

Function exec

scripts/test-util.js:19–26  ·  view source on GitHub ↗
(command, opt, ignoreCode)

Source from the content-addressed store, hash-verified

17const fs = require('fs');
18
19function exec(command, opt, ignoreCode) {
20 const res = shell.exec(command, opt);
21 if (!ignoreCode && res.code !== 0) {
22 shell.echo('command', command, 'returned code', res.code);
23 process.exit(1);
24 }
25 return res;
26}
27
28// Construct a dependency graph keyed by dependency package.
29// Example:

Callers 11

tag-version.jsFile · 0.85
mainFunction · 0.85
run_flaky_test.jsFile · 0.85
mainFunction · 0.85
tag-version.jsFile · 0.85
getFileSizeBytesFunction · 0.85
findPackagesWithDiffFunction · 0.85
diffFunction · 0.85
cpplint.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…