LangChain Reference home pageLangChain ReferenceLangChain Reference
  • GitHub
  • Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
LangSmith
  • Client
  • Run Trees
  • Traceable
  • Evaluation
  • Schemas
  • Langchain
  • Jest
  • Vitest
  • Wrappers
  • Anonymizer
  • Traceable
  • Jestlike
  • Vercel
  • Anthropic
  • Sandbox
⌘I

LangChain Assistant

Ask a question to get started

Enter to send•Shift+Enter new line

Menu

LangSmith
ClientRun TreesTraceableEvaluationSchemasLangchainJestVitestWrappersAnonymizerTraceableJestlikeVercelAnthropicSandbox
Language
Theme
JavaScriptlangsmithexperimentalsandboxRunOptions
Interface●Since v0.6

RunOptions

Options for running a command in a sandbox.

Copy
interface RunOptions

Properties

property
cwd: string

Working directory for command execution.

property
env: Record<string, string>

Environment variables to set for the command.

property
shell: string

Shell to use for command execution. Defaults to "/bin/bash".

property
timeout: number

Timeout in seconds when waiting for pool to be ready. Default: 30.

View source on GitHub