run_command
AsyncMethod
This is a method of the SandboxProtocol class in the protocols module.Run a shell command in the sandbox.
Signature
Parameters
Union
required
Command to run (string or list of args)
Optional[ResourceLimits]
Resource limits for execution
Optional
Environment variables
Optional[str]
Working directory
Returns
SandboxResult
Execution result
Source
View on GitHub
praisonaiagents/sandbox/protocols.py at line 276
