Steve:
You don't need to chmod the file NSTask is really meant for executing
Mach-I executables, so the launch path needs to be the interpreter.
For example, if this is a ruby script your launch path would be /usr/
bin/ruby and your first argument would be the first argument. If it's
a shell scrip
On Sat, Aug 2, 2008 at 5:20 PM, Steve Cronin <[EMAIL PROTECTED]> wrote:
> Andrew:
>
> Thanks for the slap on the head!
> So I chmod'ed the file and no longer get the 'not accessible error' YEAH!
>
> BUT now I get:
> *** NSTask: Task create for path '/Users/steve/Library/Application
> Support/XYZ/S
Andrew:
Thanks for the slap on the head!
So I chmod'ed the file and no longer get the 'not accessible error'
YEAH!
BUT now I get:
*** NSTask: Task create for path '/Users/steve/Library/Application
Support/XYZ/Scripts/myUseful.o' failed: 88, "Malformed Mach-o file"
So I must be missing so
On 02 Aug 08, at 13:01, Steve Cronin wrote:
I'm trying to do something that seems like it should be easy, but
I'm stymied by what I think is a permissions error I don't understand.
I'm trying to run a script using NSTask.
I have the static script stored as a separate file in my bundle.
I have