This repository was archived by the owner on Feb 14, 2026. It is now read-only.
fix(tmux): fix 4 bugs in spawnInTmux and executeTmuxCommand#172
Open
morecup wants to merge 2 commits intoslopus:mainfrom
Open
fix(tmux): fix 4 bugs in spawnInTmux and executeTmuxCommand#172morecup wants to merge 2 commits intoslopus:mainfrom
morecup wants to merge 2 commits intoslopus:mainfrom
Conversation
morecup
commented
Feb 14, 2026
- Move -P -F #{pane_pid} before the shell command (tmux requires flags before the command argument in new-window)
- Skip adding -t target in executeTmuxCommand when -t is already present in the command args (prevents duplicate -t flags)
- Remove shell-style quoting from -e KEY=value (spawn bypasses shell, so quotes become literal characters in the value)
- Prefix command with 'exec' so the shell is replaced by the actual process, making pane_pid match the real process PID
added 2 commits
February 14, 2026 05:16
1. Move -P -F #{pane_pid} before the shell command (tmux requires
flags before the command argument in new-window)
2. Skip adding -t target in executeTmuxCommand when -t is already
present in the command args (prevents duplicate -t flags)
3. Remove shell-style quoting from -e KEY=value (spawn bypasses
shell, so quotes become literal characters in the value)
4. Prefix command with 'exec' so the shell is replaced by the
actual process, making pane_pid match the real process PID
- Fix -t session flag being appended after shell command in new-window, causing tmux to pass it as part of the command string (process crashes) - Move -t before shell command arg and skip auto-append in executeTmuxCommand - Increase webhook timeout from 15s to 60s for slow MCP/project init
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.