public int getExitCode() {
    return exitCode;
  }
Gets the process's exit status code. A code equal to 0 indicates all is well.
geode-core/src/main/java/org/apache/geode/internal/ProcessOutputReader.java