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 } else {
20521 cmd += toolPath;
20522 for (const a of args) {
20523 cmd += ` ${a}`;
20524 }
20525 }
20526 return cmd;
20527 }
20528 _processLineBuffer(data, strBuffer, onLine) {
20529 try {
20530 let s = strBuffer + data.toString();
20531 let n = s.indexOf(os3.EOL);
20532 while (n > -1) {
20533 const line = s.substring(0, n);
20534 onLine(line);
20535 s = s.substring(n + os3.EOL.length);
20536 n = s.indexOf(os3.EOL);

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