Re: Any nice way to quit a background/helper app?
Re: Any nice way to quit a background/helper app?
- Subject: Re: Any nice way to quit a background/helper app?
- From: Jerry Krinock <email@hidden>
- Date: Sat, 10 Jan 2009 12:34:13 -0800
On 2009 Jan, 10, at 9:07, Sean McBride wrote:
You can usually get a psn event for 'background apps'. See
GetProcessForPID().
Thank you, Sean. The documentation for struct ProcessSerialNumber
implied to me that background apps do not have a process serial
number, and -[NSWorkspace launchedApplications] does not return them
either. But using GetProcessForPID() as you suggested, I find that
background apps do have a process serial number.
I submitted Document Feedback on struct process serial number.
Thanks,
Jerry
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden