Skip to content

Interface: ShellCommandResult

@termwright/driver


@termwright/driver / ShellCommandResult

Defined in: driver/src/api.ts:384

One command, bounded by the shell’s OSC 133 C and D marks.

readonly command: string

Defined in: driver/src/api.ts:385


readonly cwd: string | null

Defined in: driver/src/api.ts:389


readonly exitCode: number | null

Defined in: driver/src/api.ts:388


readonly output: string

Defined in: driver/src/api.ts:387

Exact terminal bytes emitted between command-start and command-end marks.


readonly receipt: ActionReceipt

Defined in: driver/src/api.ts:392

The exact physical keyboard plan that submitted this command.


readonly title: string

Defined in: driver/src/api.ts:390