synchronized void processMarker() {
      if (command.marker.equals(lastMarkerStdout)
          && (command.marker.equals(lastMarkerStderr))) {
        postCallback(command, lastExitCode, buffer);
        stopWatchdog();
        command = null;
        buffer = null;
        idle = true;
        runNextCommand();
      }
    }
Processes a stdout/stderr line containing an end/exitCode marker
imitate/src/main/java/com/engineer/imitate/shell/Shell.java