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

NSTask Question


  • Subject: NSTask Question
  • From: "J. Todd Slack" <email@hidden>
  • Date: Thu, 4 Sep 2008 14:42:50 -0700

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 app I want to run is here: <appname.app>/Contents/Resources/<app to run>

And the app I want to access from is at: <appname.app>/Contents/MacOs

I have tried a bunch of variations and nothing is working I get:

[1855:813] launch path not accessible

Thoughts?

-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 Question
      • From: Nick Zitzmann <email@hidden>
  • Prev by Date: Re: Disabled NSButton
  • Next by Date: Re: NSTask Question
  • Previous by thread: Re: Launching preference panel of an application from another application
  • Next by thread: Re: NSTask Question
  • Index(es):
    • Date
    • Thread