Reverse registry field usage.

This commit is contained in:
Dmitry Trofimov
2016-02-29 20:28:41 +01:00
parent b0c3e3e3e1
commit fc6530c39e
@@ -18,7 +18,6 @@ package com.jetbrains.python.run;
import com.intellij.execution.ExecutionException;
import com.intellij.execution.configurations.GeneralCommandLine;
import com.intellij.execution.process.ProcessHandler;
import com.intellij.openapi.util.registry.Registry;
import com.jetbrains.python.sdk.flavors.JythonSdkFlavor;
import com.jetbrains.python.sdk.flavors.PythonSdkFlavor;
@@ -40,7 +39,7 @@ public class PythonProcessRunner {
}
public static ProcessHandler createProcess(GeneralCommandLine commandLine) throws ExecutionException {
return createProcess(commandLine, Registry.is(PythonProcessHandler.KILL_WINDOWS_PROCESSES_SOFTLY));
return createProcess(commandLine, PythonProcessHandler.SOFT_KILL_ON_WIN);
}
public static ProcessHandler createProcessHandlingCtrlC(GeneralCommandLine commandLine) throws ExecutionException {