[regression] The parent process of WT does not terminate #23687

Open
opened 2026-01-31 08:49:17 +00:00 by claunia · 0 comments
Owner

Originally created by @Zeroes1 on GitHub (Oct 14, 2025).

Windows Terminal version

1.23.12811.0

Windows build number

10.0.19045.3448

Other Software

No response

Steps to reproduce

Run WindowsTerminal.exe (or WT.exe) with default settings (note: work in background mode is OFF)

in Powershell window [default profile]
press key 'ContextMenu' on keyboard

in context menu choose 'Close Tab' and click by left key mouse

Expected Behavior

latest good release:
terminal-1.22.11751.0 and earler

latest good canary
terminal-1.24.531.0 and earler

If we work not in background mode and close Latest Tab, process WindowsTerminal.exe must be closed

Actual Behavior

with trouble release:
terminal-1.23.12681.0
terminal-1.23.12811.0

with trouble canary all since terminal-1.24.551.0 -> terminal-1.25.2821.0

check processes in OS, and see what the parent process of WT does not terminate.
And we see app with default ico on taskbar Windows.

WT Hotkeys Alt+F4 and Ctrl+Shift+W, work fine, closed all (parent and child processes).
command 'exit' in PS windows closed all.
closing the last tab by clicking on the window cross also works great.

Originally created by @Zeroes1 on GitHub (Oct 14, 2025). ### Windows Terminal version 1.23.12811.0 ### Windows build number 10.0.19045.3448 ### Other Software _No response_ ### Steps to reproduce Run WindowsTerminal.exe (or WT.exe) with default settings (note: work in background mode is OFF) in Powershell window [default profile] press key 'ContextMenu' on keyboard in context menu choose 'Close Tab' and click by left key mouse ### Expected Behavior latest good release: terminal-1.22.11751.0 and earler latest good canary terminal-1.24.531.0 and earler If we work not in background mode and close Latest Tab, process WindowsTerminal.exe must be closed ### Actual Behavior with trouble release: terminal-1.23.12681.0 terminal-1.23.12811.0 with trouble canary all since terminal-1.24.551.0 -> terminal-1.25.2821.0 check processes in OS, and see what the parent process of WT does not terminate. And we see app with default ico on taskbar Windows. WT Hotkeys Alt+F4 and Ctrl+Shift+W, work fine, closed all (parent and child processes). command 'exit' in PS windows closed all. closing the last tab by clicking on the window cross also works great.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#23687