I’m trying to develop a wrapper around the LibreOffice command line interface to convert some files to the PDF format, but when an error occurs, a zero status code is returned:
As you can see in the above image, although an error has occurred, a zero status code was returned.
I would expect that this kind of error should return a status code greater or equal 1
, which is not the case. Is there an option or something to “fix” that?