PowerShell 7.5.0 (pwsh) not closing in Windows Terminal #22867

Closed
opened 2026-01-31 08:25:41 +00:00 by claunia · 3 comments
Owner

Originally created by @SOM-fermonte on GitHub (Feb 7, 2025).

Windows Terminal version

1.21.3231.0

Windows build number

10.0.22631.0

Other Software

PowerShell (pwsh) 7.5.0

Steps to reproduce

Since upgrading to pwsh 7.5.0 I have experienced this almost every day:

  1. Open a pwsh window and use it during the day (several hours, different commands)
  2. Try to close it at the end of the day by typing exit
  3. Terminal does not close the window. It simply freezes and stops responding.. Other windows, including pwsh work well, they can be opened and closed without issue.

Expected Behavior

Tab should close when typing exit

Actual Behavior

Tab stays open and stops responding. Pressing Enter to Ctrl+C does nothing. Tab mut be closed by clicking X or closing the app.

Originally created by @SOM-fermonte on GitHub (Feb 7, 2025). ### Windows Terminal version 1.21.3231.0 ### Windows build number 10.0.22631.0 ### Other Software PowerShell (pwsh) 7.5.0 ### Steps to reproduce Since upgrading to pwsh 7.5.0 I have experienced this almost every day: 1. Open a pwsh window and use it during the day (several hours, different commands) 2. Try to close it at the end of the day by typing `exit` 3. Terminal does not close the window. It simply freezes and stops responding.. Other windows, including pwsh work well, they can be opened and closed without issue. ### Expected Behavior Tab should close when typing `exit` ### Actual Behavior Tab stays open and stops responding. Pressing `Enter` to `Ctrl+C` does nothing. Tab mut be closed by clicking `X` or closing the app.
claunia added the Needs-TriageIssue-BugNeeds-Attention labels 2026-01-31 08:25:42 +00:00
Author
Owner

@DHowett commented on GitHub (Mar 26, 2025):

Sorry for the delay in getting to this one! We're starting to roll out 1.22 more broadly; are you still seeing this issue over there/?

@DHowett commented on GitHub (Mar 26, 2025): Sorry for the delay in getting to this one! We're starting to roll out 1.22 more broadly; are you still seeing this issue over there/?
Author
Owner

@SOM-fermonte commented on GitHub (Mar 27, 2025):

I am on 1.22, but TBH, I have not noticed the issue lately, so I think it is okay.
I will pay attention today, though, and confirm. BTW, I like the "update is available" notification in the about popup. I use winget to keep things updated, so I never noticed it before, but it is useful.

Image

@SOM-fermonte commented on GitHub (Mar 27, 2025): I am on 1.22, but TBH, I have not noticed the issue lately, so I think it is okay. I will pay attention today, though, and confirm. BTW, I like the "update is available" notification in the about popup. I use `winget` to keep things updated, so I never noticed it before, but it is useful. ![Image](https://github.com/user-attachments/assets/ef562782-26ea-4a5b-8569-71c7df151c87)
Author
Owner

@SOM-fermonte commented on GitHub (Mar 28, 2025):

I can confirm that terminal is working as expected for me. Closing this item.

Thanks for your help!

@SOM-fermonte commented on GitHub (Mar 28, 2025): I can confirm that terminal is working as expected for me. Closing this item. Thanks for your help!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#22867