[erlang-patches] Redirect compiler output to stderr (standard_error) were appropriate

Uwe Dauernheim <>
Fri Jan 6 19:36:00 CET 2012


Hej,

currently it is not possible to separate informative output from
warnings and errors without parsing the compiler return value
yourself, which might lead to inconsistent output formats.
Furthermore, tools like Rebar that call the Erlang compiler can't
provide this separation either without the same disadvantages. This
patch redirects compile warnings and errors from various tools
(compiler, eunit, escript, cover) to stderr (standard_error) to allow
a stream output separation and to suppress informative output.

git fetch git://github.com/djui/otp.git stderr-for-compile-errors

https://github.com/djui/otp/compare/stderr-for-compile-errors
https://github.com/djui/otp/compare/stderr-for-compile-errors.patch

/Uwe


More information about the erlang-patches mailing list