bash
Execute shell commands with a specified working directory and timeout. Captures output, saving complete results to a file when truncated.
Instructions
Execute a shell command. Set workdir instead of changing directories inside the command when possible. timeout is in milliseconds. Output is capped; complete truncated output is saved to a file.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | The command to execute | |
| timeout | No | Optional timeout in milliseconds | |
| workdir | No | The working directory to run the command in. Defaults to the current directory. Use this instead of 'cd' commands. |