• 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 21:06:52 +0100

On 13/04/06, Tom Harrington <email@hidden> wrote:
> Ah, well, it'd be nice if you had mentioned that you'd tried this, and
> that you needed command-line tools to be included.  The lack of these
> details (plus the mention of a .app bundle path) in your question made
> it seem as though -launchedApplications would be appropriate.

In fairness, launchedApplications provides nothing over Process
Manager, which John already said he'd considered.

> When I had to do something similar, I used sysctl(3).  Apple gives a
> nice example of how to do this at
> http://developer.apple.com/qa/qa2001/qa1123.html

sysctl will get you a vnode, but not a path. AFAIK there are no
supported ways of getting a path from a vnode. It's probably possible,
though.

 -- 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

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>)
 >Re: Is this program open? (From: "Tom Harrington" <email@hidden>)

  • Prev by Date: Re: NSTextAttachmentCell as rollover in NSTextView?
  • 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