[launchd-dev] launchctl unload not working

Hamish Allan hamish at gmail.com
Thu Nov 29 08:08:01 PST 2007


On Nov 29, 2007 6:28 AM, James Bucanek <subscriber at gloaming.com> wrote:

> The really bad part is the instance of the daemon that is
> running does not seem to be running in the correct
> environment/namespace. When it launches a sub-process it
> attempts to connect with it using Mach ports; The connection
> fails. Restarting the OS doesn't fix the problem.

Have you tried passing various different sessiontypes (Background,
StandardIO and System) to launchctl? I'd have thought that if this
worked, so would an OS restart, but it might be worth a try.

Hamish


More information about the launchd-dev mailing list