public void execute(OutputEventRenderer renderer) {
ConsoleMetaData consoleMetaData = null;
if(useAnsiOutput) {
consoleMetaData = new FallbackConsoleMetaData();
} else {
ConsoleDetector consoleDetector = NativeServices.getInstance().get(ConsoleDetector.class);
consoleMetaData = consoleDetector.getConsole();
}
if (consoleMetaData == null) {
return;
}
boolean stdOutIsTerminal = consoleMetaData.isStdOut();