Subject Re: [firebird-support] Re: Does anyone know ExitCode/ErrorLevel values for gfix?
Author Doug Chamberlin
I agree.

Over the years I've used and built dozens of utility programs that use the
error code return value to reflect various status values unrelated to the
basic utility operation. Typically 0 means "no problems", positive values
mean basic ops problem (serious operating errors), negative values mean
result status (operating normally).



On Wed, Apr 10, 2013 at 7:45 AM, un_spoken <brucedickinson@...> wrote:

>
> > You think wrong.
> >
> > Command line utilities set non-zero exit code if error happens in
> utility itself. So, even for havy corrupted database gfix will not set
> error code to non-zero if server can validate database and API call's
> returns without errors. Because *gfix itself* works without failure.
> >
>
> Actually it is totally up to the developer to decide what and in which
> circumstances an exit code will be returned.
>
>
>
> ------------------------------------
>
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>
> Visit http://www.firebirdsql.org and click the Resources item
> on the main (top) menu. Try Knowledgebase and FAQ links !
>
> Also search the knowledgebases at http://www.ibphoenix.com
>
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> Yahoo! Groups Links
>
>
>
>


[Non-text portions of this message have been removed]