Re: NSTask and 10.9 [SOLVED]

2013-11-27 Thread Kyle Sluder
> On Nov 27, 2013, at 7:59 AM, koko wrote: > > NSString *scriptPath = [[NSBundle mainBundle] pathForResource:@"DeleteHidden" > ofType:nil]; > > NSTask *task; > task = [[NSTask alloc] init]; > [task setLaunchPath:scriptPath]; > > The script DeleteHidden had line endings of which caused an exc

Re: NSTask and 10.9 [SOLVED]

2013-11-27 Thread koko
NSString *scriptPath = [[NSBundle mainBundle] pathForResource:@"DeleteHidden" ofType:nil]; NSTask *task; task = [[NSTask alloc] init]; [task setLaunchPath:scriptPath]; The script DeleteHidden had line endings of which caused an exception on 10.9 removing the via a hex editor resolved the 10.