@Override
  public void run() {
    try {
      new BufferedReader(new InputStreamReader(inputStream)).lines()
          .map(line -> line + lineSeparator()).forEach(inputListener::notifyInputLine);
    } catch (UncheckedIOException e) {
      logger.debug(e);
    }
  }
Reads the output stream of a Process. Default implementation performs blocking per-line reading
of the InputStream.

Extracted from ProcessStreamReader.

@since GemFire 8.2
geode-core/src/main/java/org/apache/geode/internal/process/BlockingProcessStreamReader.java