closePane leaves git-bash running #19621

Open
opened 2026-01-31 06:48:59 +00:00 by claunia · 0 comments
Owner

Originally created by @3N4N on GitHub (Apr 3, 2023).

Windows Terminal version

1.17.1023

Windows build number

No response

Other Software

No response

Steps to reproduce

Add this to your Windows Terminal settings json file, inside "profiles"->"list" key.
Modify the path to git-bash according to your installation.

            {
                "commandline": "C:/Users/ACER/scoop/shims/bash.exe --login -i",
                "guid": "{00000000-0000-0000-0000-000000012345}",
                "hidden": false,
                "icon": "C:/Users/ACER/scoop/apps/git/current/usr/share/git/git-for-windows.ico",
                "name": "Git Bash"
            },

Expected Behavior

When I close the pane, either by clicking the cross button or by pressing Ctrl+Alt+W, I expect the git bash running in the pane to be killed.

Actual Behavior

When I close the pane, either by clicking the cross button or by pressing Ctrl+Alt+W, the git bash running in the pane is not killed.

Originally created by @3N4N on GitHub (Apr 3, 2023). ### Windows Terminal version 1.17.1023 ### Windows build number _No response_ ### Other Software _No response_ ### Steps to reproduce Add this to your Windows Terminal settings json file, inside "profiles"->"list" key. Modify the path to git-bash according to your installation. ``` { "commandline": "C:/Users/ACER/scoop/shims/bash.exe --login -i", "guid": "{00000000-0000-0000-0000-000000012345}", "hidden": false, "icon": "C:/Users/ACER/scoop/apps/git/current/usr/share/git/git-for-windows.ico", "name": "Git Bash" }, ``` ### Expected Behavior When I close the pane, either by clicking the cross button or by pressing `Ctrl+Alt+W`, I expect the git bash running in the pane to be killed. ### Actual Behavior When I close the pane, either by clicking the cross button or by pressing `Ctrl+Alt+W`, the git bash running in the pane is _not_ killed.
claunia added the Needs-TriageIssue-Bug labels 2026-01-31 06:48:59 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#19621