Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index

Re: [tdf-discuss] Are return codes implemented?


2012/11/21 Thorsten Behrens <thb@documentfoundation.org>

chuckSMASH wrote:
When you invoke LibreOffice from the command line with the headless
command
and try to convert a file to another format, the exit code of the
command is
zero regardless of whether LibreOffice was actually able convert the
file or
not.

Hi Chuck,

thanks for your heads-up - best way of interaction in this case is
to file a bugreport, as indeed it would be helpful to get a proper
status back:

 http://wiki.documentfoundation.org/BugReport

Cheers,

-- Thorsten


exit(0) indicates success, but exit(1) should indeed be there to indicate a
error.

--
Olav Dahlum

PGP key ID: 0xA6BD1795

-- 
Unsubscribe instructions: E-mail to discuss+help@documentfoundation.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.documentfoundation.org/www/discuss/
All messages sent to this list will be publicly archived and cannot be deleted

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.