Interface: ShellCommandResult
@termwright/driver / ShellCommandResult
Interface: ShellCommandResult
Section titled “Interface: ShellCommandResult”Defined in: driver/src/api.ts:384
One command, bounded by the shell’s OSC 133 C and D marks.
Properties
Section titled “Properties”command
Section titled “command”
readonlycommand:string
Defined in: driver/src/api.ts:385
readonlycwd:string|null
Defined in: driver/src/api.ts:389
exitCode
Section titled “exitCode”
readonlyexitCode:number|null
Defined in: driver/src/api.ts:388
output
Section titled “output”
readonlyoutput:string
Defined in: driver/src/api.ts:387
Exact terminal bytes emitted between command-start and command-end marks.
receipt
Section titled “receipt”
readonlyreceipt:ActionReceipt
Defined in: driver/src/api.ts:392
The exact physical keyboard plan that submitted this command.
readonlytitle:string
Defined in: driver/src/api.ts:390