if (isConsoleEnabled()) {
log.info("consoleEnabled = true");
SwingUtilities.invokeLater(new Runnable() {
@Override
public void run() {
consoleFrame = new ProcessConsoleFrame(CONSOLE_NUM_LINES, true);
consoleFrame.setProcess(p);
consoleFrame.setVisible(true);
MessageLog messageLog = consoleFrame.getMessageLog();
messageLog.consume(p.getInputStream());
messageLog.consume(p.getErrorStream());