Skip to content

Interface: ProcessExecOptions

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

Options for ProcessService.exec.

Properties

cwd?

ts
optional cwd?: string;

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

Working directory to run the command in. Defaults to the open workspace folder when omitted — the right cwd for CLI tools (git, formatters, linters) that operate on a repo. A cwd outside the workspace throws PathDeniedError unless the extension declared the processPermission. First-party (bundled) extensions are unscoped.