shevek / jcpp

The C Preprocessor as a Java library
http://www.anarres.org/projects/jcpp/
Apache License 2.0
107 stars 36 forks source link

Main doesn't return nonzero exit code on failure. #43

Open bdw-g opened 1 year ago

bdw-g commented 1 year ago

When Main run fails, it does not return with nonzero exit code, which means that in a shell script, an invoker does not have a way to know that the process failed.

ooxi commented 1 year ago

Thanks for the report @bdw-g! Could you provide an example?