* Convert the provided exitCode and signal to a single status code. * * During `exit` node provides either a `code` or `signal`, one of which is guaranteed to be * non-null. * * For more details see: https://nodejs.org/api/child_process.html#child_process_event_exit
(exitCode: number | null, signal: NodeJS.Signals | null)
| 157 | static exec(command: string, options: ExecOptions = {}): Promise<SpawnResult> { |
| 158 | const env = getEnvironmentForNonInteractiveCommand(options.env, options.cwd); |
| 159 | return processAsyncCmd(command, options, _exec(command, {...options, env})); |
| 160 | } |
| 161 | } |
| 162 | |
| 163 | /** |
| 164 | * Convert the provided exitCode and signal to a single status code. |
no outgoing calls
no test coverage detected