* Runs a tmux command in the user's original tmux session (no socket override). * Use this for operations that interact with the user's tmux panes (split-pane with leader).
( args: string[], )
| 75 | * Use this for operations that interact with the user's tmux panes (split-pane with leader). |
| 76 | */ |
| 77 | function runTmuxInUserSession( |
| 78 | args: string[], |
| 79 | ): Promise<{ stdout: string; stderr: string; code: number }> { |
| 80 | return execFileNoThrow(TMUX_COMMAND, args) |
| 81 | } |
| 82 | |
| 83 | /** |
| 84 | * Runs a tmux command in the external swarm socket. |
no test coverage detected