I agree. That does seem to be a better solution. It is a bit disconcerting that the /proc/#/comm file isn't documented in the manfile for proc, at least with 10.10, but it does work.
I agree. That does seem to be a better solution. It is a bit disconcerting that the /proc/#/comm file isn't documented in the manfile for proc, at least with 10.10, but it does work.