Skip to content

safeSpawn

safeSpawn(command, args?, options?): Promise<{ code: number | null; stderr: string; stdout: string; success: boolean; }>

Defined in: packages/agentic-control/src/core/subprocess.ts:54

Safely execute a command asynchronously with array-based arguments

string

string[] = []

SpawnOptions = {}

Promise<{ code: number | null; stderr: string; stdout: string; success: boolean; }>