tuist sandbox exec
Run a shell command in a sandbox, resuming it first when paused, and stream its output.
Arguments#
sandbox-id#
Sandbox UUID.
tuist sandbox exec [sandbox-id]
account Optional#
Account handle. Defaults to the account in the project's full handle.
tuist sandbox exec --account [account]
path Optional#
Project directory.
tuist sandbox exec --path [path]
tuist sandbox exec -p [path]
json Optional#
Return the response as JSON. Unknown optional values are omitted.
tuist sandbox exec --json
cwd Optional#
Working directory in the sandbox. Defaults to the sandbox's workspace.
tuist sandbox exec --cwd [cwd]
env Optional#
An environment variable as NAME=VALUE. Repeatable. Never stored.
tuist sandbox exec --env [env]
timeout Optional#
Kill the command after this many seconds (1–21600). Defaults to one hour.
tuist sandbox exec --timeout [timeout]
wait Optional#
Return after this many seconds (1–21600) if the command is still running, leaving it running, and exit with 75.
tuist sandbox exec --wait [wait]
attach Optional#
Continue a command started earlier, by its ID, instead of starting one.
tuist sandbox exec --attach [attach]
stdout-offset Optional#
With --attach, the stdout bytes already received. Defaults to 0, the whole output.
tuist sandbox exec --stdout-offset [stdout-offset]
stderr-offset Optional#
With --attach, the stderr bytes already received. Defaults to 0, the whole output.
tuist sandbox exec --stderr-offset [stderr-offset]
command Optional#
The command to run, after --.
tuist sandbox exec [command]