ProcessHandler (Module module) { try { final JavaParameters javaParameters = createJavaParameters(module); final GeneralCommandLine commandLine = javaParameters.toCommandLine(); return new ColoredProcessHandler(commandLine) { @Override protected @NotNull BaseOutputReader.Options readerOptions() { return BaseOutputReader.Options.forMostlySilentProcess(); } @Override public boolean isSilentlyDestroyOnClose() { return true; } }; } catch (ExecutionException e) { LOG.warn(e); return null; } }