[erlang-bugs] erl -make returns 0 on failure.

Magnus Henoch magnus@REDACTED
Mon Oct 26 12:28:42 CET 2015


I posted a patch for that a while ago:

http://erlang.org/pipermail/erlang-patches/2009-March/000390.html

I got neither positive nor negative responses to it, so I'm not sure what
the general opinion is on this. If anyone feels like it, feel free to try
resubmitting the patch as a pull request.

Regards,
Magnus


On Mon, Oct 26, 2015 at 10:14 AM, Albin Stigö <albin.stigo@REDACTED> wrote:

> Hello,
>
> I'm pretty new to Erlang and I guess this is an old discussion. But why do
>
> erl -make
>
> return 0 even on error? It makes it harder to do:
>
> erl -make && erl -pa ebin/ test/ -noshell -s r1_tests test -s init stop
>
> I have found some previous posts about it through google but they
> normally boil down to "write a wrapper".
>
>
> --Albin
> _______________________________________________
> erlang-bugs mailing list
> erlang-bugs@REDACTED
> http://erlang.org/mailman/listinfo/erlang-bugs
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-bugs/attachments/20151026/157e97dc/attachment.htm>


More information about the erlang-bugs mailing list