[Bug]: BinaryBuilder returns 0 (success) on failure
dubajj opened this issue · comments
Jasper Duba commented
Detailed steps on how to reproduce the bug
- use a non-existent source directory with BinaryBuilder
- Note the output
Source directory doesn't exist: ...
- Note the return value from the executable is 0 aka "success"
This is true for all failure cases in BinaryBuilder.
What is the expected behaviour?
An executable failing should return a non-zero value to the OS
Operating systems
Other
What versions of the operating systems?
Windows
MacOS
Linux
Architectures
Other, 64-bit
Stacktrace
No response
Plug-in formats (if applicable)
No response
Plug-in host applications (DAWs) (if applicable)
No response
Testing on the develop
branch
The bug is present on the develop
branch
Code of Conduct
- I agree to follow the Code of Conduct
Jasper Duba commented
As a bonus, it would be nice to use cerr
instead of cout
for error printing.