bdy sandbox exec

$bdy sandbox exec [options] [command]

Execute a command in sandbox. Commands run as buddy with passwordless sudo. Use sudo for package installs

OPTIONS
-h, --help
display help for command
AVAILABLE COMMANDS
Execute a command in sandbox. Commands run as buddy with passwordless sudo. Use sudo for package installs
Kill a running command
List all commands
Get command logs
Get command status

Documentation for bdy v1.22.58

Last modified on Jun 9, 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$
install package from apt
bdy sb exec command sandbox-identifier "sudo apt-get update && sudo apt-get install -y nginx" --wait$
kill command running in sandbox
bdy sb exec kill sandbox-identifier command-id$
kill command running in sandbox and automatically confirm killing
bdy sb exec kill sandbox-identifier command-id -f$
list commands running in sandbox
bdy sb exec ls sandbox-identifier$
list commands running in sandbox in different project
bdy sb exec ls sandbox-identifier -p project$
show logs from command
bdy sb exec logs sandbox-identifier command-id$
show logs from command and wait for it to complete
bdy sb exec logs sandbox-identifier command-id --wait$
show status of command
bdy sb exec status sandbox-identifier command-id$
show status of command in sandbox from another workspace
bdy sb exec status sandbox-identifier command-id -w workspace -p project$