process_run
Execute a shell command and capture its output, errors, and exit code as JSON. Specify command, optional timeout, working directory, and shell.
Instructions
[process] Run a shell command and return stdout, stderr, and exit code. Returns JSON with: success, returncode, stdout, stderr, truncated.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | ||
| timeout | No | ||
| cwd | No | ||
| shell | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |