Skip to content

Commit

Permalink
Exit the process after commandline-only invocations (#15445)
Browse files Browse the repository at this point in the history
Yep it's that dumb

Closes #15443
  • Loading branch information
zadjii-msft authored May 26, 2023
1 parent cd6b083 commit c9e993a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cascadia/WindowsTerminal/WindowEmperor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ bool WindowEmperor::HandleCommandlineArgs()
if (!res.Message.empty())
{
AppHost::s_DisplayMessageBox(res);
ExitThread(res.ExitCode);
std::quick_exit(res.ExitCode);
}
}

Expand Down

0 comments on commit c9e993a

Please sign in to comment.