run_command
Run any shell command or utility inside a persistent Wasmer sandbox with a list of arguments, retaining files and installed packages between calls until the sandbox is reset.
Instructions
Run any command available inside the Wasmer sandbox, with arguments.
Use it for non-Python work in the sandbox — a shell utility, or a binary that
install_sandbox_package added. command is the command name, and args its
arguments as a list (not a shell string: there is no shell splitting, quoting or
piping). Returns the same result shape as run_python.
The sandbox is long-lived, so this command sees files and packages left by earlier
calls, and its own side effects persist until reset_sandbox.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | ||
| env | No | ||
| args | No | ||
| command | Yes | ||
| network | No | ||
| timeout_s | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||