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, e.g. ["-lc", "npm test"] | |
| command | Yes | Program to run, e.g. bash | |
| timeout_ms | No | Give up after this many milliseconds, 1000-600000 (default 120000) |