scalix_computer_exec
Run a command inside a persistent Linux machine and wait for it to finish. Returns exit code, stdout and stderr. The machine must be running.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Machine id from scalix_computer_create or scalix_computer_list | |
| cwd | No | Working directory inside the machine | |
| env | No | Environment variables for this command only | |
| args | No | Arguments passed to the program; omit when command is a shell string | |
| command | Yes | Either a bare program (e.g. bash, with args passed separately) OR a full shell string (e.g. "apt-get install -y jq") — a command containing whitespace is run via sh -lc automatically, so no manual ["-lc", ...] wrapping is needed | |
| timeout_ms | No | Give up after this many milliseconds, 1000-300000 (default 120000). 300s is the platform-wide hop ceiling — a larger request is served at 300s, not rejected. |