-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Suddenly unable to launch PowerShell in Windows Terminal via Run/shell #16660
Comments
This comment was marked as off-topic.
This comment was marked as off-topic.
more detailsFrom what I can tell, this started to occur after updating Windows Terminal to version
There is another issue on the PowerShell repository (PowerShell/PowerShell#20595) that mentions this same error, but it has been closed as it was mentioned to be an issue with Windows terminal; linking to this #16051. Which has been locked due to participant's "spicy" behavior. However, I'm not sure I have the same issue as running the Get-EnvsWithEmbeddedNull script mentioned in #16051 does not list any corrupt registry entries on any of my 3 systems. things I've tried
|
I guess this is a bug in the v1.19 Release and will be probably fixed in v1.20. See: |
Yea pretty sure this is /dup #16623, which is already fixed in v1.19.10302.0 |
Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report! |
it starts happening for me as well with latest [v1.22.3232.0] |
@aaronedev please file a new bug, fill out the template, and include a screenshot. |
Windows Terminal version
1.19.10292.0
Windows build number
10.0.22631.0
Other Software
PowerShell 7 - v7.4.1
PowerShell - v5.1.22621.2506
Steps to reproduce
via run
wt pwsh
via shell
wt pwsh
orwt PowerShell
nuance
For whatever reason I've found that it is sometimes necessary to run
wt [shell]
more than once before Windows Terminal will even launch to print the error message. Almost as if Terminal itself is hard crashing before it can display.Expected Behavior
wt pwsh
launches Windows Terminal with the PowerShell 7 profile without error.wt PowerShell
launches Windows Terminal with the PowerShell profile without error.Actual Behavior
wt pwsh
launches Windows Terminal with the PowerShell 7 profile and displays the following error & exit code:wt PowerShell
launches Windows Terminal with the PowerShell profile and displays the following error & exit code:The text was updated successfully, but these errors were encountered: