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
Resource limits for execution
Optional
Environment variables
Optional
Working directory
Returns
SandboxResult
Execution result
Source
View on GitHub
praisonaiagents/sandbox/protocols.py at line 275
