Before calling tmux kill-session, explicitly kill the pane's process tree using pkill. This ensures claude processes don't survive session termination due to SIGHUP being caught/ignored. Implementation: - Add KillSessionWithProcesses() to tmux.go - Update killSessionsInOrder() in start.go to use new method - Update stopSession() in down.go to use new method Fixes: gt-5r7zr Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
14 KiB
14 KiB