code: public static void run(Process process) {
      try {
        LOG.info("Starting {}.", process);
        process.start();
        LOG.info("Stopping {}.", process);
        System.exit(0);
      } catch (Throwable t) {
        LOG.error("Uncaught exception while running {}, stopping it and exiting.", process, t);
        try {
          process.stop();
        } catch (Throwable t2) {
          // continue to exit
          LOG.error("Uncaught exception while stopping {}, simply exiting.", process, t2);
        }
        System.exit(-1);
      }
    }
docs: Runs the given {@link Process}. This method should only be called from {@code main()} methods.
  
  @param process the {@link Process} to run
  '