shell_script
Run multi-line scripts in bash, sh, or Python via stdin. Supports strict error handling, timeouts, and environment variables.
Instructions
Run a multi-line script (bash/sh/python) fed on stdin.
With strict and a shell interpreter, set -euo pipefail is
prepended so failures abort early.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| script | Yes | ||
| interpreter | No | bash | |
| strict | No | ||
| timeout | No | ||
| cwd | No | ||
| env_json | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |