Hi Rick, On Sat, Jun 27, 2009 at 7:22 PM, Ken Thomases<k...@codeweavers.com> wrote: > On Jun 27, 2009, at 4:11 AM, Rick Mann wrote: > >> I'm starting a process via NSTask and launchctl. I can use launchctl list >> to get the process' PID. Is there a way i can get notified if the process >> exits (or dies) without polling launchctl list? > > http://developer.apple.com/technotes/tn/tn2050.html
I'm not sure that will be much help to you for what you're doing. If it's not a GUI task, those methods won't work I don't think. Do you have control over the service that you're launching? Is it your own code? If so, there are other IPC mechanisms you could use. Regards, Chris _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com