What state changes
- The sandbox process table changes while the command is running.
- Files, environment-visible side effects, and services created by the command remain in that sandbox until changed or destroyed.
- Background commands continue after the API call returns.
Usage
command, optional args, timeout_secs, cwd, envs,
shell, and background. Use shell: true for a shell string. Leave
shell false and pass args when you need exact argv boundaries.
API reference: execCommand (POST /v1/sandboxes/{id}/exec).
Guide: Commands and processes.
Example: Examples.