Execute a command in the sandbox.
Commands are run using /bin/bash -c in the sandbox working directory.
When using VFS mode, files are synced to a temp directory before execution
and synced back after. Absolute paths in the command that reference VFS
entries are automatically rewritten to point to the temp directory.
execute(command: string): Promise<ExecuteResponse>| Name | Type | Description |
|---|---|---|
command* | string | The shell command to execute |