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

CMD - Process exited with code 9009 #11073

Closed
ashwinexe opened this issue Aug 28, 2021 · 3 comments
Closed

CMD - Process exited with code 9009 #11073

ashwinexe opened this issue Aug 28, 2021 · 3 comments
Labels
Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing.

Comments

@ashwinexe
Copy link

Windows Terminal version (or Windows build number)

10.0.19043.1165

Other Software

No response

Steps to reproduce

1- Write any not recognized command in cmd terminal
2- Type exit command

Expected Behavior

The cmd tab should close on executing exit command

Actual Behavior

Command Prompt throwing error and shortcut commands stop working to close it.
Only way to close the tab is clicking on x
image

@ghost ghost added Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting Needs-Tag-Fix Doesn't match tag requirements labels Aug 28, 2021
@polluks
Copy link

polluks commented Aug 30, 2021

Maybe this behavior is willful.
Workaround: exit 0

@zadjii-msft
Copy link
Member

Thanks for the report! Please make sure to search for duplicates when filing new issues. There's already a decent amount of discussion in the above issues explaining why this happens.

#4263 (comment)

This behavior exists to stop an error message printed out by a program from disappearing instantly when it exits. There is a class of applications for which that is extremely important. We're following this behavior because it is the right brhavior to follow, and because you can turn it off with a config option very easily.

#4736 (comment)

Alas, this is a behavior that's highly conserved across multiple shells and terminal emulators on most mainstream operating systems; more info in #4223 (comment). If you'd rather it just exit every time, set closeOnExit to true. 😄 /dup #4223.

@ghost
Copy link

ghost commented Aug 30, 2021

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 ghost closed this as completed Aug 30, 2021
@ghost ghost added Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing. and removed Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting Needs-Tag-Fix Doesn't match tag requirements labels Aug 30, 2021
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing.
Projects
None yet
Development

No branches or pull requests

3 participants