Re: NSTask Question

2008-09-04 Thread J. Todd Slack
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 'reso

Re: NSTask Question

2008-09-04 Thread Nick Zitzmann
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 mai

NSTask Question

2008-09-04 Thread J. Todd Slack
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: /Contents/Resources/to run> And the app I want to access from is at: /Contents/MacOs