safeSpawnSync
safeSpawnSync(
command,args?,options?):object
Defined in: packages/agentic-control/src/core/subprocess.ts:15
Safely execute a command with array-based arguments (no shell interpolation)
Parameters
Section titled “Parameters”command
Section titled “command”string
string[] = []
options?
Section titled “options?”SpawnSyncOptions = {}
Returns
Section titled “Returns”object
code:
number|null
stderr
Section titled “stderr”stderr:
string
stdout
Section titled “stdout”stdout:
string
success
Section titled “success”success:
boolean