mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 14:23:28 +07:00
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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user