What state changes
- The machine process table changes while the command is running.
- Files, environment-visible side effects, and services created by the command remain in that machine until changed or destroyed.
- Background commands continue after the API call returns.
Usage
command, optional args, timeout_secs, cwd, envs,
shell, and background. Use shell: true for a shell string. Leave
shell false and pass args when you need exact argv boundaries.
API reference: execCommand (POST /v1/machines/{id}/exec).
Guide: Commands and processes.
Example: Examples.