process_run_script
Execute multi-line shell scripts by writing to a temp file. Returns JSON with success status, return code, stdout, stderr, and truncation indicator. Supports custom timeout, working directory, and interpreter.
Instructions
[process] Run a multi-line shell script. Writes to a temp file and executes it. Returns JSON with: success, returncode, stdout, stderr, truncated.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| script | Yes | ||
| timeout | No | ||
| cwd | No | ||
| interpreter | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |