Skip to content

Commit 14fb08a

Browse files
zadjii-msftDHowett
authored andcommitted
Exit the process after commandline-only invocations (#15445)
Yep it's that dumb Closes #15443 (cherry picked from commit c9e993a) Service-Card-Id: 89327583 Service-Version: 1.18
1 parent d90c837 commit 14fb08a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cascadia/WindowsTerminal/WindowEmperor.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ bool WindowEmperor::HandleCommandlineArgs()
123123
if (!res.Message.empty())
124124
{
125125
AppHost::s_DisplayMessageBox(res);
126-
ExitThread(res.ExitCode);
126+
std::quick_exit(res.ExitCode);
127127
}
128128
}
129129

0 commit comments

Comments
 (0)