diff --git a/library/Core.cpp b/library/Core.cpp index 176d5014d..032e2b0be 100644 --- a/library/Core.cpp +++ b/library/Core.cpp @@ -1033,7 +1033,11 @@ command_result Core::runCommand(color_ostream &con, const std::string &first_, s } else if (first == "die") { +#ifdef WIN32 + TerminateProcess(GetCurrentProcess(),666); +#else std::_Exit(666); +#endif } else if (first == "kill-lua") {