docs: def run_ocrmypdf(input_file, output_file, *args, env=None):
      "Run ocrmypdf and let caller deal with results"
  
      if env is None:
          env = os.environ
  
      p_args = OCRMYPDF + list(args) + [input_file, output_file]
      p = Popen(
          p_args, close_fds=True, stdout=PIPE, stderr=PIPE,
          universal_newlines=True, env=env)
      out, err = p.communicate()
      return p, out, err