I've got a couple programs that are returning error codes that are negative numbers. Finalbuilder is taking these as successful. Aren't all non-zero return codes supposed to be errors in windows?
I've got a couple programs that are returning error codes that are negative numbers. Finalbuilder is taking these as successful. Aren't all non-zero return codes supposed to be errors in windows?
Hi Allen,
I think they’re supposed to be, but they aren’t. Many programs output strange return codes to indicate all kinds of things.
If you’re using FinalBuilder 5, the Execute Program action is very flexible about what range of return codes constitutes an error. For example, you can set it to “Program exit code must be equal to 0” to have it fail on any non-zero exit codes.
Regards,
Angus
PS AFAIK, the idea comes from Unix, where this rule is more closely followed, so most Unix programs are well behaved with regards to the 0 = Success rule.
you know, this was my mistake. I found in your tool that you allow us to specificy what is an error code. This tool is just extremely versatile!
thanks