On 22
Jul, 2015, at 22:49, James Bucanek <
subscriber@gloaming.com>
wrote:
That is your problem. In that context,
`launchctl load` will attempt to load your job as a daemon because it is
running as root in the root Mach bootstrap. One thing that's critical
to understand is that there's nothing about the contents of your plist
which identifies it as a daemon or agent; the same plist can be loaded
into multiple contexts. Each context can have sessions within it. As it
turns out, the only place this matters is the per-user context, which
has Background and Aqua. The intended effect of `launchctl load` and
friends is determined by your calling context.