jenom / pdfbook2

Create booklets from PDF files
GNU General Public License v3.0
57 stars 11 forks source link

FATAL while running on MikTeX/Windows with elevated priviledges #18

Open mhooreman opened 1 year ago

mhooreman commented 1 year ago

Hello,

While running on MikTex/Windows with elevated priviledges, we have a "false" fatal error.

Under the hood, pdfbook2 invoques pdfcrop and checks that there is nothing in stderr.

Unfortunately, with that particular configuration, every tool part of the miktek distribution shows, on stderr, "xxx: security risk: running with elevated privileges", where "xxx" is the tool name.

So, concretely, pdfbook2 invoques pdfcrop which gives "pdfcrop: security risk: running with elevated privileges" in stderr. Since stderr is not empty, pdfbook2 considers it a a fatal error.