[launchd-dev] How to ensure that my job is launched through launchd and not directly?

Raunak Poddar raunak.poddar at gmail.com
Thu Apr 16 04:25:16 PDT 2015


I have a program and I want to ensure that it has been launched only by
launchd (as a daemon) & it should terminate if the user launches it
directly (double-click on Finder, terminal). Is there a nifty way of
accomplishing this?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/launchd-dev/attachments/20150416/38181932/attachment.html>


More information about the launchd-dev mailing list