<div dir="ltr">Eh, is this enough?<div><br></div><div>I've made changing program name in flussonic and had to make following changes:</div><div><br></div><div>1) prctl(PR_SET_NAME, name)</div><div><br></div><div>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</div><div><br></div><div>3) for MacOS it is:  dirty OSX code around com.apple.LaunchServices,   _LSSetApplicationInformationItem,  _kLSDisplayNameKey and ls_set_application_information_item_func</div><div><br></div><div><br></div><div><br></div><div>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.</div></div>