Interface: ExecResultV0
Table of contents
Properties
cmd
• Optional
Readonly
cmd: string
killed
• Optional
Readonly
killed: boolean
signal
• Optional
Readonly
signal: string
code
• Optional
Readonly
code: number
stdout
• Readonly
stdout: string
stderr
• Readonly
stderr: string
Methods
lines
▸ lines(): string
[]
Split output lines.
Returns
string
[]
The list of lines.
parseJsonLines
▸ parseJsonLines(): any
[]
Parse each output line as a JSON object.
Returns
any
[]
The list of lines where each line is a JSON object.
parseJsonObject
▸ parseJsonObject(): any
Parse a well-formed JSON output.
Returns
any
The JSON object.