[erlang-questions] Erlang/OTP 20.0-rc1 is available for testing
Michael Truog
mjtruog@REDACTED
Fri May 5 22:44:55 CEST 2017
It seems good to point out a change that may surprise people that have scripts that depend on the old process name "beam.smp" which now changes to the script name, or is set by an environment variable:
OTP-14381 Application(s): erts
Changed erts startup program name, argv 0, to use the
environment variable ESCRIPT_NAME so that erlc,
dialyzer, typer, ct_run, or the escript name can be
seen with external programs, such as ps and htop
(depending on options), on unix.
If environment variable ESCRIPT_NAME is not set, argv 0
of the invoking program will be used, e.g. the name
will be erl, cerl, or the soft link name.
This is a great change, but one to be aware of.
Best Regards,
Michael
More information about the erlang-questions
mailing list