• 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
NSTask and get results
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSTask and get results


  • Subject: NSTask and get results
  • From: "J. Todd Slack" <email@hidden>
  • Date: Thu, 30 Oct 2008 13:54:30 -0700

Hi All,

Can I run an NSTask and get the results back for parsing?

I looked at CocoaDev and I see that I can specify a pipe, which needs a file to write to, but can I just get the results back in an array or something?

I am running a SQL query and I wish the results to be returned to me. I am returning one field as a result of the select statement.

so what might be returned would be:

Jason
Jeremy
Desiree
Annette
Joe
Tom
Nick

Thanks,

-Jason

_______________________________________________

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


  • Follow-Ups:
    • Re: NSTask and get results
      • From: Jason Coco <email@hidden>
  • Prev by Date: Re: Image from font file
  • Next by Date: Silicon Valley CocoaHeads ... ?
  • Previous by thread: Re: Need help programatically wiring up an NSTreeController to an NSOutlineView
  • Next by thread: Re: NSTask and get results
  • Index(es):
    • Date
    • Thread