Table of contents
Interface: ExecResultV0
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.