Skip to main content
You can execute commands in a running sandbox and receive its output by using the following command.
Bash

Execution options

--background flag lets you run a command in the background and return immediately. The command will print the process ID (PID) to stderr:
Bash
--cwd flag specifies the working directory for the command.
Bash
--user flag specifies the user to run the command.
Bash
--env flag lets you set environment variables. Repeat the flag to set multiple variables.
Bash
Last modified on June 4, 2026