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

Function exec

ng-dev/utils/child-process.ts:145–148  ·  view source on GitHub ↗

* Execs a given command with the specified arguments inside a shell. All process stdout * output is captured and returned as resolution on completion. Depending on the chosen * output mode, stdout/stderr output is also printed to the console, or only on error. * * @returns a Promise reso

(command: string, options: ExecOptions = {})

Source from the content-addressed store, hash-verified

143 commandText,
144 options,
145 _spawn(command, args, {...options, env, stdio: 'pipe'}),
146 );
147 }
148
149 /**
150 * Execs a given command with the specified arguments inside a shell. All process stdout
151 * output is captured and returned as resolution on completion. Depending on the chosen

Callers

nothing calls this directly

Calls 2

processAsyncCmdFunction · 0.85

Tested by

no test coverage detected