Execute File • Rust AI Agent SDK
execute_file: Execute a file in the sandbox.
execute_file
Async
Method
</div>
This is a method of the SandboxProtocol class in the sandbox module.
Execute a file in the sandbox.
Signature
async def execute_file(
&self,
file_path: &str,
args: Option<Vec<String>>,
limits: Option<ResourceLimits>,
env: Option<HashMap<String, String>>,
) -> Result<SandboxResult>Parameters
ParamField
&strNo description available.
ParamField
Option<Vec<String>>No description available.
ParamField
Option<ResourceLimits>No description available.
ParamField
Option<HashMap<StringNo description available.