It seams that the PrefPane is to long to launch and crash totally here is the solution :
args = [NSArray arrayWithObjects: LAUNCHCTL, nil];
self.launchctl = [self runCLICommand:WHICH arguments:args];
self.launchctl = [self.launchctl stringByTrimmingCharactersInSet:[NSCharacterSet whitespaceAndNewlineCharacterSet]];
args = [NSArray arrayWithObjects:@"/usr/local/Cellar",@"-type", @"f", @"-name", REDIS_CLI, nil];
self.redis_cli = [self runCLICommand:FIND arguments:args];
self.redis_cli = [self.redis_cli stringByTrimmingCharactersInSet:[NSCharacterSet whitespaceAndNewlineCharacterSet]];
args = [NSArray arrayWithObjects:@"/usr/local/Cellar",@"-type", @"f", @"-name", REDIS_SERVER, nil];
self.redis_server = [self runCLICommand:FIND arguments:args];
self.redis_server = [self.redis_server stringByTrimmingCharactersInSet:[NSCharacterSet whitespaceAndNewlineCharacterSet]];
args = [NSArray arrayWithObjects:@"/usr/local/etc",@"-type", @"f", @"-name", @"redis.conf", nil];
self.redis_conf = [self runCLICommand:FIND arguments:args];
self.redis_conf = [self.redis_conf stringByTrimmingCharactersInSet:[NSCharacterSet whitespaceAndNewlineCharacterSet]];
It seams that the PrefPane is to long to launch and crash totally here is the solution :
Change the path in the Args to get the element faster !!!!