-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Terminal ignores Profile termination behavior setting #16068
Comments
I am in the same terminal version and I can confirm this issue. In the previous version, this wouldn't happen. |
notes: terminal/src/cascadia/TerminalApp/Pane.cpp Lines 1069 to 1076 in 1669036
When we get there as we're exiting, oh derp terminal/src/cascadia/TerminalApp/Pane.cpp Lines 1043 to 1047 in 1669036
|
Windows Terminal version
1.19.2682.0
Windows build number
10.0.22621.0
Other Software
WSL
Steps to reproduce
Set Profile termination behavior to "Close when process exits, fails, or crashes". Make profile exit with non-zero exit code. I can reproduce this in WSL, for example, by listing a non-existing file
ls 123
, thenexit
.Expected Behavior
Tab closes silently. (Terminal 1.18 closes tab silently in this case).
Actual Behavior
This message is displayed:
The text was updated successfully, but these errors were encountered: