Tuesday, 15 May 2012

objective c - NSWorkspace runningApplications doesn't return my XPC mach service -



objective c - NSWorkspace runningApplications doesn't return my XPC mach service -

nsarray *activeapps = [[nsworkspace sharedworkspace] runningapplications];

returns running applications , agents, cannot see running xpc mach service (although running , visible in activity monitor processes)

even when pid in activity monitor

id res = [nsrunningapplication runningapplicationwithprocessidentifier:223];

i res nil, although other processes works well

the nsrunningapplication documentation states:

only user applications tracked; not provide info every process on system

what trying accomplish? dont need check service in way.

objective-c cocoa xpc mach nsxpcconnection

No comments:

Post a Comment