Interface: ExecutionResult
10/22/22Less than 1 minute
shell.ExecutionResult
Structured result of a finished shell command, returned by exec and by Shell.exec on a session instance.
Table of contents
Properties
Properties
code
Readonlycode:number
Process exit code. Conventionally 0 means success; any other value indicates failure (unless the command itself defines different semantics).
output
Readonlyoutput:string
Combined stdout + stderr text (exact joining is implementation-defined—use stdout / stderr when you need them separately).
stderr
Readonlystderr:string
Standard error stream only.
stdout
Readonlystdout:string
Standard output stream only (for example the file list from ls).
