Run any shell command inside a sandbox usingDocumentation Index
Fetch the complete documentation index at: https://docs.superserve.ai/llms.txt
Use this file to discover all available pages before exploring further.
sandbox.commands.run().
AsyncSandbox exposes the same API with awaitable methods - see the Sandbox reference.Handling exit codes
run() doesn’t throw for non-zero exit codes - inspect exitCode on the result.
Working directory and environment
Passcwd and env to control the execution context.
TypeScript uses
timeoutMs (milliseconds); Python uses timeout_seconds (integer seconds). Each follows its language’s convention.