[launchd-dev] Start a process on behalf of launchd

eveningnick eveningnick eveningnick at gmail.com
Mon Nov 1 10:38:25 PDT 2010


Hello
What is the correct way to launch a process not fork'ing and exec'ing, using
launchd instead?
I've been reading a lot about how is it more secure, more reliable, and just
better :)
Should i necessarily create a *.plist file to a  /Library/LaunchAgents/
directory, and then after i launched a process, delete from there? Can it be
only launched via NSTask'ing launchctl or maybe there's some kind of API for
doing such things?
Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/launchd-dev/attachments/20101101/ea86a2fa/attachment.html>


More information about the launchd-dev mailing list