<div dir="auto"><div><div dir="auto"><br></div><br><div class="gmail_quote"><div dir="ltr">Den ons 12 dec. 2018 00:47 skrev Sam Overdorf <<a href="mailto:soverdor@gmail.com">soverdor@gmail.com</a>>:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">This version does not load my ".erlang" file when I run "escript".<br>
If I run "erl" it gets loaded as expected.<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto"><span style="font-family:sans-serif">This is a change made on purpose, and introduced in 21.0.</span><div dir="auto" style="font-family:sans-serif"><br></div><div dir="auto" style="font-family:sans-serif">In the README for OTP-21.0 we have:</div><div dir="auto" style="font-family:sans-serif"><br></div><div dir="auto" style="font-family:sans-serif"><pre style="white-space:pre-wrap">--- Improvements and New Features ---
OTP-14439 Application(s): compiler, dialyzer, erts, stdlib
*** POTENTIAL INCOMPATIBILITY ***
Changed the default behaviour of .erlang loading:
.erlang is no longer loaded from the current directory.
c:erlangrc(PathList) can be used to search and load an
.erlang file from user specified directories.
escript, erlc, dialyzer and typer no longer load an
.erlang at all.
</pre><pre style="white-space:pre-wrap">/Kenneth Erlang/OTP, Ericsson</pre></div></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
</blockquote></div></div></div>