execute_bash
Run Bash commands and scripts on any OS with automatic shell detection, process management, timeout limits, and custom working directories.
Instructions
Execute a Bash command or script with robust process lifecycle management. Automatically detects and uses Git Bash or WSL on Windows, and native Bash on POSIX.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | ||
| command | Yes | ||
| env_type | No | auto | |
| timeout_seconds | No | Execution timeout in seconds (1-3600). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |