Closing tab hangs when using VS Dev tools and Powershell Core #18503

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

Originally created by @phil-scott-78 on GitHub (Sep 19, 2022).

Originally assigned to: @lhecker on GitHub.

Windows Terminal version

1.16.2524.0

Windows build number

10.0.25201.0

Other Software

  • Visual Studio 2022
  • Powershell Core 7.2.6

Steps to reproduce

  1. Create a profile using pwsh.exe in Windows Terminal Preview
  2. Execute the following lines to add the VS dev tools
Import-Module "C:\Program Files\Microsoft Visual Studio\2022\Preview\Common7\Tools\Microsoft.VisualStudio.DevShell.dll"
Enter-VsDevShell 8ee891c5 -SkipAutomaticLocation -DevCmdArguments "-arch=x64 -host_arch=x64"
  1. Close the tab

Expected Behavior

Tab closes quickly.

Actual Behavior

wt locks up entirely doing...something.

Animation

I've tested this with the release version of Windows Terminal and also regular powershell.exe. Both of those don't exhibit the behavior. It is only with Powershell Core, the most recent release of wt.exe and the Visual Studio dev tools

Originally created by @phil-scott-78 on GitHub (Sep 19, 2022). Originally assigned to: @lhecker on GitHub. ### Windows Terminal version 1.16.2524.0 ### Windows build number 10.0.25201.0 ### Other Software * Visual Studio 2022 * Powershell Core 7.2.6 ### Steps to reproduce 1. Create a profile using `pwsh.exe` in Windows Terminal Preview 2. Execute the following lines to add the VS dev tools ```powershell Import-Module "C:\Program Files\Microsoft Visual Studio\2022\Preview\Common7\Tools\Microsoft.VisualStudio.DevShell.dll" Enter-VsDevShell 8ee891c5 -SkipAutomaticLocation -DevCmdArguments "-arch=x64 -host_arch=x64" ``` 3. Close the tab ### Expected Behavior Tab closes quickly. ### Actual Behavior wt locks up entirely doing...something. ![Animation](https://user-images.githubusercontent.com/2447331/190947485-bf79b9ca-82a6-4de5-bb15-7987e7b4dc3d.gif) I've tested this with the release version of Windows Terminal and also regular powershell.exe. Both of those don't exhibit the behavior. It is only with Powershell Core, the most recent release of wt.exe and the Visual Studio dev tools
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#18503