Skip to main content
Executes one or more bash commands sequentially in a project’s sandbox. Commands run with the sandbox workspace root as the working directory. When multiple commands are provided, the sandbox instance is reused across all commands for faster batch execution.

Arguments


Options


Behavior

  • Single command: stdout and stderr are written directly to their respective streams (no header)
  • Multiple commands: each result is prefixed with a > {command} header (dimmed) before its output
  • --parallel: all commands run concurrently; results are printed in the order they were given
  • The process exits with the last non-zero exit code, or 0 if all commands succeed
  • Suitable for scripting and AI agent tool use

Examples

Single command:
Batch execution:
Output for batch execution: