Opening a second powershell and immediately closing it crashes terminal #2084

Closed
opened 2026-01-30 22:46:22 +00:00 by claunia · 3 comments
Owner

Originally created by @riskysciolism on GitHub (Jun 24, 2019).

Environment

Windows build number: Version 10.0.18362.175
Terminal Version: 0.2.1715.0

Steps to reproduce

Open Windows Terminal which defaults to an open tab with powershell.
Open a second tab with powershell, and immediately close it.
Terminal crashes/freezes.

Expected behavior

The recently opened tab simply closes

Actual behavior

Tab and the complete Terminal freezes. Need to ALT + Ctrl + Delete.

Originally created by @riskysciolism on GitHub (Jun 24, 2019). # Environment ```none Windows build number: Version 10.0.18362.175 Terminal Version: 0.2.1715.0 ``` # Steps to reproduce Open Windows Terminal which defaults to an open tab with powershell. Open a second tab with powershell, and immediately close it. Terminal crashes/freezes. # Expected behavior The recently opened tab simply closes # Actual behavior Tab and the complete Terminal freezes. Need to ALT + Ctrl + Delete.
claunia added the Needs-TriageNeeds-Tag-FixResolution-Duplicate labels 2026-01-30 22:46:22 +00:00
Author
Owner

@mcpiroman commented on GitHub (Jun 24, 2019):

I had similar issue when I set "commandline" : "powershell -c dir" (which caused terminal to run dir and then close), but after a while it stoped crashing.

EDIT: I can reproduce it now on release mode. Just set commandline to execute something fast, like dir or cd .., either directly or via powershell -c or cmd /C.

@mcpiroman commented on GitHub (Jun 24, 2019): I had similar issue when I set `"commandline" : "powershell -c dir"` (which caused terminal to run `dir` and then close), but after a while it stoped crashing. EDIT: I can reproduce it now on release mode. Just set commandline to execute something fast, like `dir` or `cd ..`, either directly or via `powershell -c` or `cmd /C`.
Author
Owner

@JushBJJ commented on GitHub (Jun 24, 2019):

That seems like an issue within the terminal itself depending on how fast your computer is. But the issue really is visible when you open powershell.

@JushBJJ commented on GitHub (Jun 24, 2019): That seems like an issue within the terminal itself depending on how fast your computer is. But the issue really is visible when you open powershell.
Author
Owner

@DHowett-MSFT commented on GitHub (Jun 27, 2019):

Probably the same as #1445

@DHowett-MSFT commented on GitHub (Jun 27, 2019): Probably the same as #1445
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#2084