Skip to main content

Function: executeScopedBashCommand()

executeScopedBashCommand(workingDir, command, timeout?): Promise<{ exitCode: number | null; stderr: string; stdout: string; }>

Defined in: scoped.ts:171

Synchronous bash execution scoped to a working directory. Used by hosts that extend bash with additional modes (e.g. background). Not filesystem-confined — cwd only.

Parameters

workingDir

string

command

string

timeout?

number = 30000

Returns

Promise<{ exitCode: number | null; stderr: string; stdout: string; }>