Skip to content
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

Cannot start wt through "Run" #17486

Open
Anans2 opened this issue Jun 29, 2024 · 8 comments
Open

Cannot start wt through "Run" #17486

Anans2 opened this issue Jun 29, 2024 · 8 comments
Labels
Issue-Bug It either shouldn't be doing this or needs an investigation. Needs-Attention The core contributors need to come back around and look at this ASAP. Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting

Comments

@Anans2
Copy link

Anans2 commented Jun 29, 2024

Windows Terminal version

1.20.11781.0

Windows build number

10.0.26120.670

Other Software

No response

Steps to reproduce

win+R then type "wt" in Run

Expected Behavior

Start the terminal

Actual Behavior

wt crashed immediately, with the same logs just like #13193.

AppName WindowsTerminal.exe
AppVersion 1.21.2406.25002
AppTimeStamp 667b71e3
ModuleName ucrtbase.dll
ModuleVersion 10.0.26100.751
ModuleTimeStamp cdc60ec5
ExceptionCode c0000409
FaultingOffset 00000000000a514e
ProcessId 0x918
ProcessCreationTime 0x1dac9cdc051aa8e
AppPath C:\Program Files\WindowsApps\Microsoft.WindowsTerminalPreview_1.21.1772.0_x64__8wekyb3d8bbwe\WindowsTerminal.exe
ModulePath C:\WINDOWS\System32\ucrtbase.dll
IntegratorReportId 53217967-c8f2-46a6-9b33-7883da184a4d
PackageFullName
PackageRelativeAppId

However, with any other ways to start, like start menu, right-click menu or run "wt" in another terminal, it works well.

@Anans2 Anans2 added Issue-Bug It either shouldn't be doing this or needs an investigation. Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting labels Jun 29, 2024
Copy link

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

@vinzmoke-zoro
Copy link

Works perfectly fine for me on windows 11 home 23H2.

@ThomasETN
Copy link

I got the same issue on Windows 10 22H2 (Microsoft Windows NT 10.0.19045.0).
Executing wt through "Run" fails immediately, an event viewer entry shows:

Faulting application name: WindowsTerminal.exe, version: 1.20.2405.17001, time stamp: 0x66479c60
Faulting module name: ucrtbase.dll, version: 10.0.19041.3636, time stamp: 0x81cf5d89
Exception code: 0xc0000409
Fault offset: 0x000000000007286e
Faulting process ID: 0x974
Faulting application start time: 0x01dacc28cccbb3c4
Faulting application path: C:\Program Files\WindowsApps\Microsoft.WindowsTerminal_1.20.11381.0_x64__8wekyb3d8bbwe\WindowsTerminal.exe
Faulting module path: C:\WINDOWS\System32\ucrtbase.dll
Report ID: 894c8028-b6a7-4a1a-904d-2c89e0bb1e77
Faulting package full name: 
Faulting package-relative application ID: 

@ThomasETN
Copy link

While running "wt" fails, running by specifying the full path works, i.e. running %LOCALAPPDATA%\Microsoft\WindowsApps\wt.exe worked perfectly. This serves as my current workaround.

I doubled checked that %LOCALAPPDATA%\Microsoft\WindowsApps\wt.exe is already in my PATH

@zadjii-msft
Copy link
Member

Curious. What's the whole value of your PATH? Or more specifically, from CMD, what does where wt output/?

@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something label Jul 2, 2024
@ThomasETN
Copy link

WindowsTerminal_XRoEVcGnbv

C:\Users\<USERNAME>\AppData\Local\Microsoft\WindowsApps\wt.exe

@Anans2
Copy link
Author

Anans2 commented Jul 5, 2024

By the way, I found that running with explorer path box
image
will get the same crash, too🤔

@microsoft-github-policy-service microsoft-github-policy-service bot added Needs-Attention The core contributors need to come back around and look at this ASAP. and removed Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something labels Jul 5, 2024
@AvogatoWizardWhisker
Copy link

For some reason, PowerToys run doesn't recognize wt at all on my machine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Bug It either shouldn't be doing this or needs an investigation. Needs-Attention The core contributors need to come back around and look at this ASAP. Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting
Projects
None yet
Development

No branches or pull requests

5 participants