kitty_run
Execute a command on the kitty terminal and return its stdout, stderr, and exit code. Waits for process completion.
Instructions
Run a program on the computer where kitty is running and get its output (stdout, stderr, exit code). This waits for the process to complete. For fire-and-forget, use kitty_launch with type "background" instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| env | No | Environment variables as "NAME=VALUE" strings. | |
| cmdline | Yes | The command and arguments to run. Example: ["ls", "-la", "/tmp"]. Required. | |
| timeout | No | Timeout in milliseconds. Default: 120000 (2 minutes). |