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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to