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]
>>>
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
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
*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
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