Run Command (no shell)
execRun a program on a remote machine from an argv array without shell interpretation; configure working directory and timeout.
Instructions
Run argv to exit, no shell: metacharacters are data. Shell syntax: exec_shell. Long-running or interactive: exec_start. timeout in seconds, default 120, clamped to [1, 1800]. Invalid UTF-8 in stdout/stderr becomes U+FFFD.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Child working directory; omit to inherit. | |
| argv | Yes | Program and arguments, e.g. ["df", "-h", "/"]. Passed verbatim. | |
| timeout | No | Kill after this many seconds (1..1800, default 120). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| error | No | ||
| stderr | No | ||
| stdout | No | ||
| timeout | No | ||
| exit_code | No | ||
| duration_ms | No | ||
| duration_us | No |