when is type a wrong command in cmd, and then type exit will give a msg "code 9009",and not give next prompt. #11800

Closed
opened 2026-01-31 02:57:50 +00:00 by claunia · 7 comments
Owner

Originally created by @Kangaroomc on GitHub (Dec 14, 2020).

Environment

Windows build number: [run `[Environment]::OSVersion` for powershell, or `ver` for cmd]
Windows Terminal version (if applicable):

Any other software?

Steps to reproduce

Expected behavior

Actual behavior

Originally created by @Kangaroomc on GitHub (Dec 14, 2020). <!-- 🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨 I ACKNOWLEDGE THE FOLLOWING BEFORE PROCEEDING: 1. If I delete this entire template and go my own path, the core team may close my issue without further explanation or engagement. 2. If I list multiple bugs/concerns in this one issue, the core team may close my issue without further explanation or engagement. 3. If I write an issue that has many duplicates, the core team may close my issue without further explanation or engagement (and without necessarily spending time to find the exact duplicate ID number). 4. If I leave the title incomplete when filing the issue, the core team may close my issue without further explanation or engagement. 5. If I file something completely blank in the body, the core team may close my issue without further explanation or engagement. All good? Then proceed! --> <!-- This bug tracker is monitored by Windows Terminal development team and other technical folks. **Important: When reporting BSODs or security issues, DO NOT attach memory dumps, logs, or traces to Github issues**. Instead, send dumps/traces to secure@microsoft.com, referencing this GitHub issue. If this is an application crash, please also provide a Feedback Hub submission link so we can find your diagnostic data on the backend. Use the category "Apps > Windows Terminal (Preview)" and choose "Share My Feedback" after submission to get the link. Please use this form and describe your issue, concisely but precisely, with as much detail as possible. --> # Environment ```none Windows build number: [run `[Environment]::OSVersion` for powershell, or `ver` for cmd] Windows Terminal version (if applicable): Any other software? ``` # Steps to reproduce <!-- A description of how to trigger this bug. --> # Expected behavior <!-- A description of what you're expecting, possibly containing screenshots or reference material. --> # Actual behavior <!-- What's actually happening? -->
claunia added the Resolution-Duplicate label 2026-01-31 02:57:50 +00:00
Author
Owner

@skyline75489 commented on GitHub (Dec 14, 2020):

OK I have no idea what this is about. Can you post at least a screenshot or something?

@skyline75489 commented on GitHub (Dec 14, 2020): OK I have no idea what this is about. Can you post at least a screenshot or something?
Author
Owner

@skyline75489 commented on GitHub (Dec 14, 2020):

Try to follow the issue template and do not just ignore it. Fill the issue template with necessary information will help everyone towards a basic idea of what's happening.

@skyline75489 commented on GitHub (Dec 14, 2020): Try to follow the issue template and do not just ignore it. Fill the issue template with necessary information will help everyone towards a basic idea of what's happening.
Author
Owner

@Kangaroomc commented on GitHub (Dec 14, 2020):

[cid:image001.png@01D6D21B.EC00BE70]

发送自 Windows 10 版邮件https://go.microsoft.com/fwlink/?LinkId=550986应用

发件人: Chester Liumailto:notifications@github.com
发送时间: 2020年12月14日 13:19
收件人: microsoft/terminalmailto:terminal@noreply.github.com
抄送: cangarooSJJmailto:cangaroo_sjj@hotmail.com; Authormailto:author@noreply.github.com
主题: Re: [microsoft/terminal] when is type a wrong command in cmd, and then type exit will give a msg "code 9009",and not give next prompt. (#8582)

OK I have no idea what this is about. Can you post at least a screenshot or something?


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/microsoft/terminal/issues/8582#issuecomment-744173650, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AE3RZGMWLWIGHWO4Q3MVQPTSUWN5LANCNFSM4U2E6EQA.

@Kangaroomc commented on GitHub (Dec 14, 2020): [cid:image001.png@01D6D21B.EC00BE70] 发送自 Windows 10 版邮件<https://go.microsoft.com/fwlink/?LinkId=550986>应用 发件人: Chester Liu<mailto:notifications@github.com> 发送时间: 2020年12月14日 13:19 收件人: microsoft/terminal<mailto:terminal@noreply.github.com> 抄送: cangarooSJJ<mailto:cangaroo_sjj@hotmail.com>; Author<mailto:author@noreply.github.com> 主题: Re: [microsoft/terminal] when is type a wrong command in cmd, and then type exit will give a msg "code 9009",and not give next prompt. (#8582) OK I have no idea what this is about. Can you post at least a screenshot or something? ― You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub<https://github.com/microsoft/terminal/issues/8582#issuecomment-744173650>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AE3RZGMWLWIGHWO4Q3MVQPTSUWN5LANCNFSM4U2E6EQA>.
Author
Owner

@skyline75489 commented on GitHub (Dec 14, 2020):

Yeah...a lot of things do not work with email. I learned this a while ago.

@skyline75489 commented on GitHub (Dec 14, 2020): Yeah...a lot of things do not work with email. I learned this a while ago.
Author
Owner

@skyline75489 commented on GitHub (Dec 14, 2020):

If you're experiencing this:

image

This is expected. You can find out more in the documentation about closeOnExit.

@skyline75489 commented on GitHub (Dec 14, 2020): If you're experiencing this: ![image](https://user-images.githubusercontent.com/4710575/102060838-a9506200-3e2d-11eb-83c9-0c607c3ac5f0.png) This is expected. You can find out more in the documentation about [closeOnExit](https://docs.microsoft.com/en-us/windows/terminal/customize-settings/profile-settings#how-the-profile-closes-when-exiting).
Author
Owner

@zadjii-msft commented on GitHub (Dec 14, 2020):

Yea, you gotta use the template friend. I'm guessing you're seeing what @skyline75489 mentioned. Or something like any of these 11 other threads.

If you can provide some additional info, we'll be happy to reopen this and investigate further.

/dup #3869 #4263 #4573 #4627 #4736 #5003 #5214 #6518 #7836 #8172

@zadjii-msft commented on GitHub (Dec 14, 2020): Yea, you gotta use the template friend. I'm guessing you're seeing what @skyline75489 mentioned. Or something like any of these [11 other threads](https://github.com/microsoft/terminal/issues?q=is%3Aissue+9009). If you can provide some additional info, we'll be happy to reopen this and investigate further. /dup #3869 #4263 #4573 #4627 #4736 #5003 #5214 #6518 #7836 #8172
Author
Owner

@ghost commented on GitHub (Dec 14, 2020):

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!

@ghost commented on GitHub (Dec 14, 2020): 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!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#11800