Hi, In Linux, with LibreOffice 7.3.7.2, when I run the following headless command with a non-existing file and then check the return code, it is 0.
/usr/bin/libreoffice --headless --convert-to csv foo.ods
echo $?
Also, I get the same when I try to convert a spreadsheet to an impress file (just to get a different error) or when I use a non-existent file convert-to type, so:
/usr/bin/libreoffice --headless --convert-to odp foo.ods
/usr/bin/libreoffice --headless --convert-to doremi foo.ods
It appears libreoffice always returns a 0 using these two parameters regardless of the outcome. Is this the case? It would be helpful if it did return something accurate for when this command is used in a script.