@Override
  public Process start(ProcessBuilder processBuilder) {
    adjustment.accept(processBuilder);
    try {
      return processBuilder.start();
    } catch (IOException e) {
      throw new UncheckedIOException("Cannot launch process", e);
    }
  }
A process launcher that applies an adjustment to the  {@link ProcessBuilder} before launching the
process.
build-tools/geode-testing-isolation/src/main/java/org/apache/geode/gradle/testing/process/AdjustableProcessLauncher.java