execUtils
Index
Enumerations
Classes
Type Aliases
Functions
Enumerations
EndStrategy
Always
ErrorCode
Never
Classes
ExecError
constructor
Parameters
__namedParameters: ExecErrorOptions
Returns ExecError
code
publicoptionaloriginalError
publicreportCode
publicoptionalreportExtra
Type declaration
Parameters
report: Report
Returns void
stderr
stdout
PipeError
constructor
Parameters
__namedParameters: PipeErrorOptions
Returns PipeError
code
publicoptionaloriginalError
publicreportCode
publicoptionalreportExtra
Type declaration
Parameters
report: Report
Returns void
Type Aliases
ExecErrorOptions
ExecvpOptions
Type declaration
cwd: PortablePath
optionalencoding?: BufferEncodingOrBuffer
optionalenv?: {}
[key string]: string | undefined
optionalstrict?: boolean
PipeErrorOptions
Type declaration
code: number | null
fileName: string
signal: NodeJS.Signals | null
PipevpOptions
Type declaration
cwd: PortablePath
optionalend?: EndStrategy
optionalenv?: {}
[key string]: string | undefined
stderr: Writable
stdin: Readable | null
stdout: Writable
optionalstrict?: boolean
Functions
execvp
Parameters
fileName: string
args: string[]
opts: ExecvpOptions & { encoding: buffer }
Returns Promise<{ code: number; stderr: Buffer; stdout: Buffer }>
pipevp
Parameters
fileName: string
args: string[]
__namedParameters: PipevpOptions
Returns Promise<{ code: number }>