[Refactor] Unify the invocation of external processes and properly grab STDOUT and STDERR #95
Labels
🐛bug
Something isn't working
🕵investigate
Needs further analysis to find the root cause.
🕵TLC
Needs some special attention
Projects
Milestone
Been looking at the code for a while now and there's plenty places where external applications are executed, each with its own special flavor of code (probably as experience grows and history has its way 😄).
Meanwhile I'm pondering 🤔 that this is nice to have for running JavaScript scripts and bash/powershell scripts on PDFs and metadata so that I could integrate the nice parts of my old reverse engineering and work around Qiqqa project and PDF-in-the-Wild nastinesses.
Anyway, today the bubble popped and this issue got filed. Case in point:
QiqqaOCR generates a fault and the logging cannot dump its report properly because STDERR just so happens to have gone the way of the Dodo. Sigh. And if it just had said in there: "Exception bla bla, no words to write ladidah" it would have saved me some time.
The text was updated successfully, but these errors were encountered: