Thanks, Damien. On 2009-12-15, at 12:56 PM, Damien Sorresso wrote:
(3) Is there a way to remove the job from launchd without having the plist present? For example, it could happen that the plist was manually deleted but the job was not unloaded first.
Check out Snow Leopard's ServiceManagement framework.
Until now, I'd only done launchd-related stuff on Leopard, so that's good to know. I'll give it a look.
(4) Is there a better way of getting the enclosing app's path (to launch when necessary) other than getting the agent's bundle path and stripping off the last few components? (Sorry for something not strictly a launchd question, but it's related.)
I don't see what's wrong with that method. Are you finding it unreliable?
No, I just wondered if there was a better way. ---- Karl Moskowski <kolpanic@voodooergonomics.com> Voodoo Ergonomics Inc. <http://voodooergonomics.com/>