@Override
  public int exitValue() {
    int exitValue = delegate.exitValue();
    LOGGER.debug("{} reporting exit value {}", this, exitValue);
    return exitValue;
  }
Wraps a Java {@link Process} to execute a completion function when it terminates.
build-tools/geode-testing-isolation/src/main/java/org/apache/geode/gradle/testing/isolation/CompletableProcess.java