Skip to main content
In this part of the tutorial, you execute commands inside a sandbox and capture their output. The following examples show common patterns, including error checking, timeouts, and working directories.

Parallel execution

Run multiple commands in parallel when you don’t need to wait for each one to finish before starting the next. This reduces total runtime when commands are independent.
For streaming, error handling, and process control, see the Execution guide.
Last modified on May 29, 2026