docs: public static int destroyProcess(final Process process) throws InterruptedException {
          if (process == null)
              return 0;
          process.destroy();
          return process.waitFor();
      }