Skip to content

buildSandboxArgs

reference
1 min readUpdated

Kind: Function

Source: atloria-monorepo/libs/agent-core/src/tools/bash-sandbox.ts

Build the argument array for spawning a command under sandbox-exec.

Signature

ts
function buildSandboxArgs(command: string, rootDir: string): string[]

Parameters

NameType
commandstring
rootDirstring

Returns: string[]

Was this page helpful?

Download as PDF