bdy sandbox exec command

$bdy sandbox exec command|cmd [options] <identifier> <command>

Execute a command in sandbox

ARGUMENTS
identifier
Sandbox identifier (required)
OPTIONS
-w, --workspace <domain>
Workspace URL handle. Can be set via variable: BUDDY_WORKSPACE
-p, --project <name>
Project name. Can be set via variable: BUDDY_PROJECT
--runtime <runtime>
Command runtime: BASH, JAVASCRIPT, TYPESCRIPT, PYTHON (default: BASH)
--wait
Wait until operation completes
-h, --help
display help for command

Documentation for bdy v1.20.0

Last modified on Apr 13, 2026

Examples

Ran command in sandbox
bdy sb exec command sandbox-identifier "ls -la"$
Ran command in sandbox and wait for it to complete
bdy sb exec command sandbox-identifier "sleep 10" --wait$