v17.12.1

every-app/open-seov17.12.1Sep 16, 2026by github-actions[bot]

Upgrading?

AI Summary

A patch release that fixes a critical bug where command-line help and version information were being printed to standard error instead of standard output.

Key Highlights

  • Fixed `ocrmypdf --version` and `--help` output redirection.
  • Corrected file descriptor redirection behavior introduced in v17.8.0.
  • Ensured standard output is used for help/version text while errors remain on stderr.

New Features

  • Output redirection fix

Full Release Notes

**Fixes**

- `ocrmypdf --version` and `ocrmypdf --help` printed to standard error
  instead of standard output, so `version=$(ocrmypdf --version)` came back
  empty and `ocrmypdf --help | less` showed nothing. OCRmyPDF redirects file
  descriptor 1 to standard error early in startup, before it parses the
  command line, so that a stray write from a plugin or a library cannot
  corrupt a PDF being written to standard output; argparse's own output was
  caught by that redirection too and is now routed back to the real standard
  output. Error messages continue to go to standard error. Broken since
  v17.8.0.

Related Repositories