runnerw: restores normal processing of CTRL+C input. It helps if IDE is started in background, without console, e.g. "webstorm64.exe &", in this case CTRL+C is disabled (WEB-24480)

This commit is contained in:
Sergey Simonchik
2016-12-19 13:54:04 +03:00
parent b707f3ba38
commit 2c7daef8bb

View File

@@ -237,6 +237,9 @@ int main(int argc, char * argv[]) {
processFlag |= CREATE_NO_WINDOW;
}
if (!SetConsoleCtrlHandler(NULL, FALSE)) {
ErrorMessage("Cannot restore normal processing of CTRL+C input");
}
if (!CreateProcess(
c_app,
c_args,