execute-command
Run commands in a specified tmux pane and retrieve output directly. Ideal for executing single-line commands, avoiding multi-line conflicts, and managing terminal interactions efficiently.
Instructions
Execute a command in a tmux pane and get results. IMPORTANT: Avoid heredoc syntax (cat << EOF) and other multi-line constructs as they conflict with command wrapping. For file writing, prefer: printf 'content\n' > file, echo statements, or write to temp files instead.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
command | Yes | Command to execute | |
paneId | Yes | ID of the tmux pane |