void (@Nullable Project project, @NotNull ExternalDiffSettings.ExternalTool externalTool, @NotNull List<? extends DiffContent> contents, @NotNull List<String> titles, @NotNull TestOutputConsole outputConsole) { JComponent parentComponent = outputConsole.getComponent(); try { GeneralCommandLine commandLine = createDiffCommandLine(project, externalTool, contents, titles, null); KillableProcessHandler processHandler = new TestKillableProcessHandler(commandLine); addLoggingListener(outputConsole, commandLine, processHandler); processHandler.startNotify(); } catch (Exception e) { Messages.showErrorDialog(parentComponent, e.getMessage(), DiffBundle.message("error.cannot.show.diff")); } }