Skip to content

Interface: ProcessSpawnOptions

Defined in: packages/sdk/src/process-service.ts:13

Options for spawning a process session. Today sessions are shell PTYs, so cwd is required (the webview has no ambient working directory).

Properties

cwd

ts
cwd: string;

Defined in: packages/sdk/src/process-service.ts:20

Working directory the session starts in. Must resolve inside the open workspace unless the extension declared the process Permission (first-party extensions are unscoped); otherwise throws PathDeniedError.


cols?

ts
optional cols?: number;

Defined in: packages/sdk/src/process-service.ts:22

Initial column count.


rows?

ts
optional rows?: number;

Defined in: packages/sdk/src/process-service.ts:24

Initial row count.