Terminal close immediately after open #21553

Closed
opened 2026-01-31 07:47:58 +00:00 by claunia · 9 comments
Owner

Originally created by @PororoManon on GitHub (Apr 19, 2024).

Windows Terminal version

1.19.10821.0

Windows build number

10.0.22631.0

Other Software

Steps to reproduce

Dont know how to reproduce it, because it suddenly happens. I do nothing on my terminal other than do npm run/build, and ssh to my local server.

Expected Behavior

No response

Actual Behavior

It close immediately after I open it, either through CMD, pwsh or git bash. To make sure its not corrupted or something, I already reinstall it from microsoft store.

https://github.com/microsoft/terminal/assets/148423664/58604394-95c4-430a-a61b-254d3e89fc7f

Originally created by @PororoManon on GitHub (Apr 19, 2024). ### Windows Terminal version 1.19.10821.0 ### Windows build number 10.0.22631.0 ### Other Software - ### Steps to reproduce Dont know how to reproduce it, because it suddenly happens. I do nothing on my terminal other than do npm run/build, and ssh to my local server. ### Expected Behavior _No response_ ### Actual Behavior It close immediately after I open it, either through CMD, pwsh or git bash. To make sure its not corrupted or something, I already reinstall it from microsoft store. https://github.com/microsoft/terminal/assets/148423664/58604394-95c4-430a-a61b-254d3e89fc7f
claunia added the Needs-TriageIssue-BugNeeds-Attention labels 2026-01-31 07:47:58 +00:00
Author
Owner

@github-actions[bot] commented on GitHub (Apr 19, 2024):

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.

@github-actions[bot] commented on GitHub (Apr 19, 2024): 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: - [Powershell and cmd close immediately (#16947)](https://github.com/microsoft/terminal/issues/16947), similarity score: 0.75 > Note: You can give me feedback by thumbs upping or thumbs downing this comment.
Author
Owner

@PororoManon commented on GitHub (Apr 19, 2024):

I have try the closed similar issues (install the .msixbundle). yes it works, but I cant call it through cmd or pwsh.

@PororoManon commented on GitHub (Apr 19, 2024): I have try the closed similar issues (install the .msixbundle). yes it works, but I cant call it through cmd or pwsh.
Author
Owner

@carlos-zamora commented on GitHub (Apr 25, 2024):

I have try the closed similar issues (install the .msixbundle). yes it works, but I cant call it through cmd or pwsh.

Can you record another video with the new issue you're seeing /?

@carlos-zamora commented on GitHub (Apr 25, 2024): > I have try the closed similar issues (install the .msixbundle). yes it works, but I cant call it through cmd or pwsh. Can you record another video with the new issue you're seeing /?
Author
Owner

@PororoManon commented on GitHub (Apr 26, 2024):

Can you record another video with the new issue you're seeing /?

still same as video I record before. but now I can open Terminal app and it show PowerShell, because I set PowerShell as default. but if I open CMD or PWSH from search, Terminal open and close immediately.

sorry for my bad english, hope you understant what I mean. :D

@PororoManon commented on GitHub (Apr 26, 2024): > Can you record another video with the new issue you're seeing /? still same as video I record before. but now I can open Terminal app and it show PowerShell, because I set PowerShell as default. but if I open CMD or PWSH from search, Terminal open and close immediately. sorry for my bad english, hope you understant what I mean. :D
Author
Owner

@PororoManon commented on GitHub (Apr 26, 2024):

Oh... now I can't open the Terminal app either. Last time, I installed a .msixbundle and the Terminal was able to open.
heres the video

https://github.com/microsoft/terminal/assets/148423664/4e444f43-2020-4609-9205-813ddf5d01ff

@PororoManon commented on GitHub (Apr 26, 2024): Oh... now I can't open the Terminal app either. Last time, I installed a .msixbundle and the Terminal was able to open. heres the video https://github.com/microsoft/terminal/assets/148423664/4e444f43-2020-4609-9205-813ddf5d01ff
Author
Owner

@npanagop commented on GitHub (Apr 26, 2024):

I've been having the same issue with Terminal v1.19.10821.0 on Windows 11 build 22631 for the last week. Downgrading to v1.18.10301.0 solves the issue.

@npanagop commented on GitHub (Apr 26, 2024): I've been having the same issue with Terminal v1.19.10821.0 on Windows 11 build 22631 for the last week. Downgrading to [v1.18.10301.0](https://github.com/microsoft/terminal/releases/tag/v1.18.10301.0) solves the issue.
Author
Owner

@zadjii-msft commented on GitHub (Apr 26, 2024):

Can you record another video with the new issue you're seeing /?

still same as video I record before.

Sorry for the confusion, while we were triaging yesterday, github failed to load the video, so we assumed it was corrupted.

Looks like it's crashing after a small timeout for a defterm launch, but not a direct launch.

Any chance you have MacType installed? (if so, update it. See https://github.com/microsoft/terminal/issues/16730#issuecomment-1952336962 for details)

If you don't have MacType installed:

  • Could you share your settings.json file/?
  • Can you provide /feedback with the feedback hub?
@zadjii-msft commented on GitHub (Apr 26, 2024): > > Can you record another video with the new issue you're seeing /? > > still same as video I record before. Sorry for the confusion, while we were triaging yesterday, github failed to load the video, so we assumed it was corrupted. Looks like it's crashing after a small timeout for a defterm launch, but not a direct launch. Any chance you have MacType installed? (if so, update it. See https://github.com/microsoft/terminal/issues/16730#issuecomment-1952336962 for details) If you don't have MacType installed: * Could you share your [settings.json file](https://github.com/microsoft/terminal/wiki/Frequently-Asked-Questions-(FAQ)#where-can-i-find-the-settings-file)/? * Can you provide /feedback with the feedback hub?
Author
Owner

@lhecker commented on GitHub (Apr 26, 2024):

FYI the direct download link to the latest MacType version that fixes the crash is here: https://github.com/snowie2000/mactype/releases/tag/v1.2023.5.31

@lhecker commented on GitHub (Apr 26, 2024): FYI the direct download link to the latest MacType version that fixes the crash is here: https://github.com/snowie2000/mactype/releases/tag/v1.2023.5.31
Author
Owner

@PororoManon commented on GitHub (Apr 27, 2024):

Yes I have mactype installed. I update it to v1.2023.5.31 and all works! I can call it from CMD and PWSH from start menu. will close this issue. Thanks!

@PororoManon commented on GitHub (Apr 27, 2024): Yes I have mactype installed. I update it to [v1.2023.5.31](https://github.com/snowie2000/mactype/releases/tag/v1.2023.5.31) and all works! I can call it from CMD and PWSH from start menu. will close this issue. Thanks!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#21553