9 Feb
2017
9 Feb
'17
5:17 p.m.
I tried it last night and couldn't immediately make it work; if I understand correctly (and I may not), launchd has its own accounting of process names that setproctitle doesn't touch, so ps vs Activity Monitor/the menu bar will report different things after using setproctitle.
Hmm, but launchd is clearly noticing the exec and picking up the switch from sh to python, right? What if we setproctitle and then exec(self) in python?
--Dan