Type Alias RunShellCommandOptions
RunShellCommandOptions: { cwd?: string; env?: NodeJS.ProcessEnv; hookUpToConsole?: boolean; rejectOnError?: boolean; shell?: string; stderrCallback?: ((stderr: string,
childProcess: ChildProcess) => MaybePromise<void> | undefined); stdoutCallback?: ((stdout: string,
childProcess: ChildProcess) => MaybePromise<void> | undefined); } Type declaration
Optional
cwd?: string
Optional
env?: NodeJS.ProcessEnv
Optional
hookUpToConsole?: boolean
Optional
rejectOnError?: boolean
Optional
shell?: string
Optional
stderrCallback?: ((stderr: string, childProcess: ChildProcess) => MaybePromise<void> | undefined)
- (stderr, childProcess): MaybePromise<void> | undefined
Parameters
- stderr: string
- childProcess: ChildProcess
Returns MaybePromise<void> | undefined
Optional
stdoutCallback?: ((stdout: string, childProcess: ChildProcess) => MaybePromise<void> | undefined)
- (stdout, childProcess): MaybePromise<void> | undefined
Parameters
- stdout: string
- childProcess: ChildProcess
Returns MaybePromise<void> | undefined
Options for runShellCommand.