• 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 Question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTask Question


  • Subject: Re: NSTask Question
  • From: "J. Todd Slack" <email@hidden>
  • Date: Thu, 4 Sep 2008 15:00:21 -0700

Hi Nick,

Thanks, that seems better,  than trying to build it up myself.

Thanks,

-Jason

On Sep 4, 2008, at 2:56 PM, Nick Zitzmann wrote:


On Sep 4, 2008, at 3:42 PM, J. Todd Slack wrote:

So I need to use NSTask and I am trying to run a small executable command-line app from inside my 'resources' directory in my app bundle.

But what is the right path to access?


The right path is whatever this method returns: [[NSBundle mainBundle] pathForResource:@"your-task-name-here" ofType:@""]

Nick Zitzmann
<http://www.chronosnet.com/>



_______________________________________________

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


References: 
 >NSTask Question (From: "J. Todd Slack" <email@hidden>)
 >Re: NSTask Question (From: Nick Zitzmann <email@hidden>)

  • Prev by Date: Re: NSTask Question
  • Next by Date: Circular NSSlider: How to get the same behaviour as in Quartz Composer?
  • Previous by thread: Re: NSTask Question
  • Next by thread: Circular NSSlider: How to get the same behaviour as in Quartz Composer?
  • Index(es):
    • Date
    • Thread