Prints "[process exited with code 9009]" instead of closing the Windows Terminal when I type "exit". #11289

Open
opened 2026-01-31 02:43:34 +00:00 by claunia · 0 comments
Owner

Originally created by @Kerem00 on GitHub (Nov 5, 2020).

Environment

Windows build number: Microsoft Windows [Version 10.0.19042.610]
Windows Terminal version (if applicable): 1.3.2651.0

Steps to reproduce

When you type something that is not recognized as a command and after that you type exit, it prints "[process exited with code 9009]" and doesn't close the Windows Terminal window.

SFdX1AAxKD

Expected behavior

If you type normal commands like cd or cls and after that you type exit, it closes the Windows Terminal window as expected.

LHoj3y7ucs

Actual behavior

exit command isn't closing the window.

Originally created by @Kerem00 on GitHub (Nov 5, 2020). # Environment ```none Windows build number: Microsoft Windows [Version 10.0.19042.610] Windows Terminal version (if applicable): 1.3.2651.0 ``` # Steps to reproduce When you type something that is not recognized as a command and after that you type `exit`, it prints "[process exited with code 9009]" and doesn't close the Windows Terminal window. ![SFdX1AAxKD](https://user-images.githubusercontent.com/52210913/98262019-2b7b7a00-1f96-11eb-973c-5f6cd1b2b405.gif) # Expected behavior If you type normal commands like `cd` or `cls` and after that you type `exit`, it closes the Windows Terminal window as expected. ![LHoj3y7ucs](https://user-images.githubusercontent.com/52210913/98262834-1eab5600-1f97-11eb-9eda-7edf49ec38f5.gif) # Actual behavior `exit` command isn't closing the window.
claunia added the Resolution-Duplicate label 2026-01-31 02:43:34 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#11289