The command ("exit") works after it has been executed several times. #7087

Closed
opened 2026-01-31 00:54:36 +00:00 by claunia · 4 comments
Owner

Originally created by @avdain on GitHub (Mar 22, 2020).

Environment

Windows build number: 10.0.18363.0
Windows Terminal version: 0.10.781.0

Any other software?

Steps to reproduce

Start the Windows PowerShell command prompt.
Now run the command ("CMD") 3 times.
After executing the command ("CMD") 3 times, execute the command ("EXIT") 3 times.

Expected behavior

From my point of view it would be much better if the CMD prompt was stopped with an execution.

Actual behavior

Windows Terminal users must run the command ("EXIT") 3 times to return to Windows PowerShell.

Originally created by @avdain on GitHub (Mar 22, 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: 10.0.18363.0 Windows Terminal version: 0.10.781.0 Any other software? ``` # Steps to reproduce **Start the Windows PowerShell command prompt. Now run the command ("CMD") 3 times. After executing the command ("CMD") 3 times, execute the command ("EXIT") 3 times.** <!-- A description of how to trigger this bug. --> # Expected behavior **From my point of view it would be much better if the CMD prompt was stopped with an execution.** <!-- A description of what you're expecting, possibly containing screenshots or reference material. --> # Actual behavior **Windows Terminal users must run the command ("EXIT") 3 times to return to Windows PowerShell.** <!-- What's actually happening? -->
claunia added the Resolution-By-DesignNeeds-Tag-Fix labels 2026-01-31 00:54:36 +00:00
Author
Owner

@DHowett-MSFT commented on GitHub (Mar 22, 2020):

You have started three shells, you need to exit them three times. That’s just how this works.

You’ve been filing a lot of issues lately, all of which have been closed. You might be happier using the MSDN discussion forums!

@DHowett-MSFT commented on GitHub (Mar 22, 2020): You have started three shells, you need to exit them three times. That’s just how this works. You’ve been filing a lot of issues lately, all of which have been closed. You might be happier using the MSDN discussion forums!
Author
Owner

@avdain commented on GitHub (Mar 22, 2020):

I reported this to see if it would be possible to include a command that would close all command prompts simultaneously.

@avdain commented on GitHub (Mar 22, 2020): I reported this to see if it would be possible to include a command that would close all command prompts **simultaneously**.
Author
Owner

@DHowett-MSFT commented on GitHub (Mar 22, 2020):

The best way to do that is to close the tab! We can’t add an exit command that stops every process, because it would not know when to stop!

@DHowett-MSFT commented on GitHub (Mar 22, 2020): The best way to do that is to close the tab! We can’t add an exit command that stops every process, because it would not know when to stop!
Author
Owner

@DHowett-MSFT commented on GitHub (Mar 22, 2020):

Thanks for the feature request :)

@DHowett-MSFT commented on GitHub (Mar 22, 2020): Thanks for the feature request :)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#7087