MCPcopy Create free account
hub / github.com/angular/dev-infra / exec

Function exec

github-actions/browserstack/set-browserstack-env.js:20522–20533  ·  view source on GitHub ↗
(commandLine, args, options)

Source from the content-addressed store, hash-verified

20520 this.processStderr = false;
20521 this.delay = 1e4;
20522 this.done = false;
20523 this.timeout = null;
20524 if (!toolPath) {
20525 throw new Error("toolPath must not be empty");
20526 }
20527 this.options = options;
20528 this.toolPath = toolPath;
20529 if (options.delay) {
20530 this.delay = options.delay;
20531 }
20532 }
20533 CheckComplete() {
20534 if (this.done) {
20535 return;
20536 }

Callers 1

getExecOutputFunction · 0.70

Calls 4

__awaiter5Function · 0.70
argStringToArrayFunction · 0.70
sliceMethod · 0.45
execMethod · 0.45

Tested by

no test coverage detected