-
Notifications
You must be signed in to change notification settings - Fork 8.4k
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
Program does not stop when windows terminal is closed. #13586
Comments
Does this happen outside of Windows Terminal? |
It doesn't happen when i run it in conhost |
start /B /LOW /WAIT doecm.exe %1 %2 %3 %4 %5 %6 %7 %8 %9 There's a From the included README:
So, doecm.exe gets a copy of the current console handles, not a new set of handles. Unfortunately, there's not a lot of other source there to go off of. Seems like the Terminal is closing out the console handle, but for whatever reason, doecm.exe doesn't have anything to check if the console handle is still open and close itself. So it goes on, tries to spawn an We may need the maintainer to hop in here to help ID what's going on... |
This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment. |
Bump. |
why does conhost close the process, but windows terminal doesn't? |
This was fixed by #14282. Thank you again for your report! It was quite helpful during later testing. |
Windows Terminal version
1.14.1963.0
Windows build number
10.0.22000.795
Other Software
doecm 1.10
https://mklasson.com/factors/index.php
https://mklasson.com/doecm_110_win.zip
Steps to reproduce
Unpack doecm_110_win.zip
run run.bat
close windows terminal window
ecm.exe gets killed. Doecm process doesn't get killed and tries to spawn ecm.exe
each time doecm tries to spawn ecm.exe cmd.exe fails with 0xc0000142 error
Expected Behavior
No response
Actual Behavior
When i close windows terminal window ecm.exe gets killed, but doecm.exe process doesn't get killed and tries to spawn ecm.exe
each time doecm tries to spawn ecm.exe cmd.exe fails with 0xc0000142 error
The text was updated successfully, but these errors were encountered: