• 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: to NSTask or not to NSTask
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: to NSTask or not to NSTask


  • Subject: Re: to NSTask or not to NSTask
  • From: <email@hidden>
  • Date: Mon, 2 May 2005 11:17:23 +0000

As long as you don't have to do any kind of file redirection, and you know how to handle the output (if there is any), you can set /bin/sh as your launch path.  "-c" will be your first argument in your array, the actual tool would be the second argument, and the rest of the arguments would be whatever arguments you send to the tool.  Should be pretty straightforward, and I'm not aware of any other way of launching a command line tool in Cocoa except for NSTask.  I could be wrong, tho.

James

 _______________________________________________
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: to NSTask or not to NSTask
      • From: Nathan Day <email@hidden>
  • Prev by Date: Re: What does this mean?
  • Next by Date: Re: 'fi' ligatures [solved]
  • Previous by thread: to NSTask or not to NSTask
  • Next by thread: Re: to NSTask or not to NSTask
  • Index(es):
    • Date
    • Thread