[launchd-dev] fork & exit in Shell Script (Revisited)
eskimo1 at apple.com
Wed Nov 19 14:31:53 PST 2008
At 14:09 -0500 19/11/08, Charles Darwin wrote:
>Are you testing on 10.4?
Ah, um, no, I was testing on 10.5.x. I guess that explains the problem (-:
Here's a quote from TN2083:
Prior to Mac OS X 10.5, launchd agents were not
particularly useful because there was no way for the
agent to specify the type of login session that the
agent required (r. 4255854). Thus, you couldn't use a
launchd agent as the equivalent of a global login item
because it might be launched in the context of non-GUI
login session. Mac OS X 10.5 has addressed this
limitation, as described below. However, if you have to
support older systems, you should investigate some of
the alternative technologies described in Deprecated
If you want to support 10.4.x you will have to use a login item.
* * *
Wow, that quote you posted from "System Startup Programming Topics"
sure is misleading. I've filed it as <rdar://problem/6386523>.
Quinn "The Eskimo!" <http://www.apple.com/developer/>
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
More information about the launchd-dev