private @NotNull Output getOutputInternal() throws ExecutionException {
    assert !SwingUtilities.isEventDispatchThread();
    final ProcessHandler process = createProcess(new HashMap<>());
    final OutputListener listener = new OutputListener();
    process.addProcessListener(listener);
    process.startNotify();
    process.waitFor(TIMEOUT_TO_WAIT_FOR_TASK);
    return listener.getOutput();
  }
private @NotNull Output getOutputInternal()