• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Is this program open?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Is this program open?


  • Subject: Re: Is this program open?
  • From: "Finlay Dobbie" <email@hidden>
  • Date: Thu, 13 Apr 2006 19:02:16 +0100

On 13/04/06, John Stiles <email@hidden> wrote:
> I experimented with -launchedApplications in the past, but it had a
> lot of limitations—it only displayed apps that are end-user visible.
> Things like faceless apps and command line tools weren't included.

launchedApplications is just a wrapper atop Process Manager, I think.

> What does Activity Monitor use? It can even see other users' apps.
> That would be ideal for me.

At a guess, sysctl(3) and Mach calls -- much like ps(1). It doesn't
determine process' paths, I don't think -- I'm not even sure there's a
way of doing that reliably. You can get the vnode using sysctl, but I
don't think there's a reliable, supported way of going back from a
vnode to a path (not even necessarily a 1-to-1 mapping).

 -- Finlay
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Is this program open?
      • From: John Stiles <email@hidden>
References: 
 >Is this program open? (From: John Stiles <email@hidden>)
 >Re: Is this program open? (From: "Tom Harrington" <email@hidden>)
 >Re: Is this program open? (From: John Stiles <email@hidden>)

  • Prev by Date: Re: Is this program open?
  • Next by Date: Re: Is this program open?
  • Previous by thread: Re: Is this program open?
  • Next by thread: Re: Is this program open?
  • Index(es):
    • Date
    • Thread