juce-framework / JUCE

JUCE is an open-source cross-platform C++ application framework for desktop and mobile applications, including VST, VST3, AU, AUv3, LV2 and AAX audio plug-ins.

Home Page:https://juce.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Bug]: BinaryBuilder returns 0 (success) on failure

dubajj opened this issue · comments

Detailed steps on how to reproduce the bug

  1. use a non-existent source directory with BinaryBuilder
  2. Note the output Source directory doesn't exist: ...
  3. 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

As a bonus, it would be nice to use cerr instead of cout for error printing.