Search in sources :

Example 1 with GoExecutor

use of com.goide.util.GoExecutor in project go-lang-idea-plugin by go-lang-plugin-org.

the class GoRunningState method startProcess.

@NotNull
@Override
protected ProcessHandler startProcess() throws ExecutionException {
    GoExecutor executor = patchExecutor(createCommonExecutor());
    GeneralCommandLine commandLine = executor.withParameterString(myConfiguration.getParams()).createCommandLine();
    KillableColoredProcessHandler handler = new KillableColoredProcessHandler(commandLine, true);
    ProcessTerminatedListener.attach(handler);
    return handler;
}
Also used : GoExecutor(com.goide.util.GoExecutor) GeneralCommandLine(com.intellij.execution.configurations.GeneralCommandLine) KillableColoredProcessHandler(com.intellij.execution.process.KillableColoredProcessHandler) NotNull(org.jetbrains.annotations.NotNull)

Aggregations

GoExecutor (com.goide.util.GoExecutor)1 GeneralCommandLine (com.intellij.execution.configurations.GeneralCommandLine)1 KillableColoredProcessHandler (com.intellij.execution.process.KillableColoredProcessHandler)1 NotNull (org.jetbrains.annotations.NotNull)1