• 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 vs. popen vs. System
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSTask vs. popen vs. System


  • Subject: NSTask vs. popen vs. System
  • From: John Timmer <email@hidden>
  • Date: Tue, 03 Dec 2002 12:26:57 -0500

Just a quick clarification question while NSTasks are on people's minds:

Having looked through a bunch of examples and potential uses, I'd made the
judgment that one should:
Use System if you don't care what happens with the process you're launching.
Use popen if you just want to grab the output of the process, and don't care
if you do things asynchronously.
Use NSTask if you need to run things interactively and asynchronously.

Is this fairly accurate, or have I missed something?

Cheers,

Jay
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: NSTask vs. popen vs. System
      • From: Chris Ridd <email@hidden>
References: 
 >Re: NSTask not working for shell scripts? (From: Robert Staflin <email@hidden>)

  • Prev by Date: Re: Getting started in Cocoa and IB
  • Next by Date: NSEvent's timeinterval
  • Previous by thread: Re: NSTask not working for shell scripts?
  • Next by thread: Re: NSTask vs. popen vs. System
  • Index(es):
    • Date
    • Thread