[erlang-questions] os:cmd - changed output capture in Erlang 19?

Lukas Larsson lukas@REDACTED
Tue Jun 28 10:06:49 CEST 2016


Hello,

On Mon, Jun 27, 2016 at 3:04 PM, Bohuslav Svancara <bsvancara@REDACTED>
wrote:

>
> I noticed a difference in the output capturing mechanism in the Erlang 19
> release.
>
> It seems this new version captures output to STDERR too.
>
>
Windows and Unix platforms have behaved differently in this regard up until
19. On Unix stderr has been redirected to stdout, but on Windows it has not
been. In Erlang/OTP 19.0 I changed it so that both Unix and Windows behave
the same way, i.e. they both redirect stderr to stdout for os:cmd. It would
seem that I have forgotten to mention this incompatibility in the release
notes.

Lukas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20160628/57baf1ad/attachment.htm>


More information about the erlang-questions mailing list