@Override
    public void notifyFinished(boolean needsMoreInput, boolean exceptionOccurred) {
      if (PyConsoleUtil.isCommandQueueEnabled(myProject)) {
        // notify the CommandQueue service that the command has been completed without exceptions
        // and it must be removed from the queue
        // or clear queue if exception occurred
        ApplicationManager.getApplication().getService(CommandQueueForPythonConsoleService.class)
          .removeCommand(PydevConsoleCommunication.this, exceptionOccurred);
      }
      execNotifyFinished(needsMoreInput);
    }
@Override
    public void notifyFinished(boolean needsMoreInput, boolean exceptionOccurred)