[erlang-questions] Dialyzer HOME quirk
Viacheslav V. Kovalev
Tue Jun 2 17:25:25 CEST 2015
When working with dialyzer on windows I've noticed some strange (for
me) behaviour. To find default PLT location dialyzer peeks into the
HOME environment variable, which is... hm... *not always* defined on
Erlexec, for example, knows about this fact:
I believe correct way to locate HOME is to use
`init:get_argument(home)`. Does anybody know any reason not to do so?
Why dialyzer use os:getenv("HOME") though?
More information about the erlang-questions