Re: Launch Path Not Accessible

2008-08-02 Thread Omar Qazi
t; called "Scripts" and copied my script and several items into this >>> directory. >>> Note that this has a space in the full pathname! >>> >>> SO I have tried the following: >>> NSString *myScriptPath = [[self scriptsFolderPath] >>>

Re: Launch Path Not Accessible

2008-08-02 Thread Michael Ash
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

Re: Launch Path Not Accessible

2008-08-02 Thread Steve Cronin
e! SO I have tried the following: NSString *myScriptPath = [[self scriptsFolderPath] stringByAppendingPathComponent:@"myUseful.script"]; //yes I have verified this is a valid path!!! NSTask *task = [[[NSTask alloc] init] autorelease]; [task setLaunchPath: myScriptPath]; [task setArguments:[NSArray arrayWi

Re: Launch Path Not Accessible

2008-08-02 Thread Andrew Farmer
*myScriptPath = [[self scriptsFolderPath] stringByAppendingPathComponent:@"myUseful.script"]; //yes I have verified this is a valid path!!! NSTask *task = [[[NSTask alloc] init] autorelease]; [task setLaunchPath: myScriptPath]; [task setArguments:[NSArray arrayWithObject:...]]; [task setStandardInput:[NSPi

Launch Path Not Accessible

2008-08-02 Thread Steve Cronin
onent:@"myUseful.script"]; //yes I have verified this is a valid path!!! NSTask *task = [[[NSTask alloc] init] autorelease]; [task setLaunchPath: myScriptPath]; [task setArguments:[NSArray arrayWithObject:...]]; [task setStandardInput:[NSPipe pipe]]; [task launch]; ERRROR: launch