Re: NSTask Question
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