• 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: NSTask setStandardOutput: then stringWithContentsOfFile
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTask setStandardOutput: then stringWithContentsOfFile


  • Subject: Re: NSTask setStandardOutput: then stringWithContentsOfFile
  • From: Gonzalo Castro <email@hidden>
  • Date: Tue, 28 Aug 2007 16:30:10 -0400

Yes, I was using [[NSWorkspace sharedWorkspace] launchedApplications] but also needed a way to detect the app process when the app runs with no UI.

I googled and searched the cocoa-dev archives and eventually came upon "GetBSDProcessList" and then searched for that and found useful code here:

	http://developer.apple.com/qa/qa2001/qa1123.html
	http://www.cocoabuilder.com/archive/message/cocoa/2003/5/5/92971

GetBSDProcessList makes use of the C function sysctl.

Thanks,
Gonzalo

_______________________________________________

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


  • Prev by Date: Re: Retrieve local currency format ?
  • Next by Date: Re: NSOutlineView change a textfield for an NSButton (switch)
  • Previous by thread: Re: NSXMLDocument freezes UI
  • Next by thread: Blurry view from cacheDispalyInRect:toBitmapImageRep:
  • Index(es):
    • Date
    • Thread