[launchd-dev] automatic job removal

Hamish Allan hamish at gmail.com
Thu Jun 26 14:47:31 PDT 2008


On Thu, Jun 26, 2008 at 8:26 PM, John Maisey <john at nhoj.co.uk> wrote:

> Can you suggest a better solution?

Instead of your launchd agent trying to open an application on the
user's system, it could call an executable installed in
~/Library/Application Support/YourApp which would open the application
if it exists, and remove itself and the launchd agent if not.

Hamish


More information about the launchd-dev mailing list