Skip to content

Documentation / @agentick/sandbox / ExecOptions

Interface: ExecOptions

Defined in: types.ts:112

Properties

cwd?

optional cwd: string

Defined in: types.ts:114

Working directory for the command.


env?

optional env: Record<string, string>

Defined in: types.ts:117

Additional environment variables.


onOutput()?

optional onOutput: (chunk) => void

Defined in: types.ts:123

Streaming output callback. Called for each chunk of stdout/stderr.

Parameters

chunk

OutputChunk

Returns

void


timeout?

optional timeout: number

Defined in: types.ts:120

Timeout in milliseconds.

Released under the ISC License.