site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com On Mar 9, 2009, at 14:37:13, Damien Sorresso wrote: :-) -- Rick _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... You may have a library dependency in your program that isn't being satisfied when run outside of the Xcode/debugging environment then. I have no dependencies at all, apart from the default set up by the Xcode template. This is a bare-bones project to test the various launching/quitting/log-in/log-out/crash behaviors. It links against Cocoa.framework, AppKit, CoreData, Foundation. "LimitLoadToSessionType" says "Don't load this job in any session but Aqua". By default, launchctl wants to load things into the Background session, so you specify "-S Aqua" to say, explicitly, "Load this into the Aqua session". I know it's confusing, and I sincerely apologize for it. Heh, thanks. You can make it up to me by giving me a programmatic API for launchctl (none of this fork/execv stuff). This email sent to site_archiver@lists.apple.com