Interface: ShellRunOptions
@termwright/driver / ShellRunOptions
Interface: ShellRunOptions
Section titled “Interface: ShellRunOptions”Defined in: driver/src/api.ts:378
@termwright/driver — PTY + VT sessions, locators, actions and waits.
The normative public API lives in api.ts; this module is the only entry
point and re-exports the types from there together with their runtime
implementations.
Example
Section titled “Example”import { launchTerminal } from '@termwright/driver';
const terminal = await launchTerminal({ command: ['node', 'app.js'] });await terminal.waitForText('Ready');await terminal.getByRole('button', { name: 'Approve' }).activate();await terminal.close();Extends
Section titled “Extends”Properties
Section titled “Properties”maxOutputBytes?
Section titled “maxOutputBytes?”
readonlyoptionalmaxOutputBytes?:number
Defined in: driver/src/api.ts:380
Maximum captured bytes between OSC 133 C and D. Defaults to 8 MiB.
timeout?
Section titled “timeout?”
readonlyoptionaltimeout?:number
Defined in: driver/src/api.ts:561