Re: Finding process path from Cocoa?
Re: Finding process path from Cocoa?
- Subject: Re: Finding process path from Cocoa?
- From: Laurent Daudelin <email@hidden>
- Date: Wed, 9 Dec 2009 14:49:00 -0800
On Dec 9, 2009, at 10:48, Sean McBride wrote:
> On 12/9/09 10:33 AM, Laurent Daudelin said:
>
>> That's good if you want to know about your own process but what I was
>> looking for was to check another process. Since I had to support 10.5,
>> NSRunningApplication was out of question.
>
> NSRunningApplication is basically a replacement for the Process Manager,
> which was the only way to do some things that NSWorkspace could not (in
> 10.5 and earlier). Process Manager will list background only apps,
> unlike NSWorkspace.
I guess that with Carbon not being ported to 64bits, NSRunningApplication was needed. It just makes life a little harder if you have to support both 10.5 (which doesn't have NSRunningApplication but has Process Manager) and 10.6 (which has NSRunningApplication but doesn't support Process Manager in 64bits)...
-Laurent.
--
Laurent Daudelin
AIM/iChat/Skype:LaurentDaudelin http://nemesys.dyndns.org
Logiciels Nemesys Software email@hidden
Photo Gallery Store: http://laurentdaudelin.shutterbugstorefront.com/g/galleries
_______________________________________________
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