[erlang-questions] Erlang/OTP 20.0-rc1 is available for testing

Max Lapshin max.lapshin@REDACTED
Fri May 5 22:55:56 CEST 2017


Eh, is this enough?

I've made changing program name in flussonic and had to make following
changes:

1) prctl(PR_SET_NAME, name)

2) dirty hack to get erts  argv and change argv[0].  If somebody don't
know,  argv[0] lives on a special page and its changing involves running
kernel code

3) for MacOS it is:  dirty OSX code around com.apple.LaunchServices,
_LSSetApplicationInformationItem,  _kLSDisplayNameKey and
ls_set_application_information_item_func



There are several program names in different unixes and you can see them in
different tools. For example, there may be a master program name and
different names of tasks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20170505/2375c623/attachment.htm>


More information about the erlang-questions mailing list