LangChain Reference home pageLangChain ReferenceLangChain Reference
  • GitHub
  • Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
  • Overview
  • Client
  • AsyncClient
  • Run Helpers
  • Run Trees
  • Evaluation
  • Schemas
  • Utilities
  • Wrappers
  • Anonymizer
  • Testing
  • Expect API
  • Middleware
  • Pytest Plugin
  • Deployment SDK
  • RemoteGraph
⌘I

LangChain Assistant

Ask a question to get started

Enter to send•Shift+Enter new line

Menu

OverviewClientAsyncClientRun HelpersRun TreesEvaluationSchemasUtilitiesWrappersAnonymizerTestingExpect APIMiddlewarePytest PluginDeployment SDKRemoteGraph
Language
Theme
Pythonlangsmithsandbox_modelsExecutionResult
Class●Since v0.6

ExecutionResult

Result of executing a command in a sandbox.

Copy
ExecutionResult(
  self,
  stdout: str,
  stderr: str,
  exit_code: int
)

Constructors

constructor
__init__
NameType
stdoutstr
stderrstr
exit_codeint

Attributes

attribute
stdout: str
attribute
stderr: str
attribute
exit_code: int
attribute
success: bool

Return True if the command exited with code 0.

View source on GitHub