I'm using NSTask to run some bash commands, and have been for quite a while. Lately however, any time I try to do this, normal logging stops in the Xcode console (e.g. from NSLog or Cocoa Lumberjack). The console still shows any output that the bash commands may have, but no further logs appear.
The logs will be appearing as normal, and will stop as soon as I execute:
NSTask *someTask = [NSTask new];
NSArray *inputArgs = @[@"-l", @"-c", script];
[someTask setLaunchPath:@"/bin/bash"];
[someTask setArguments:inputArgs];
[someTask launch] // This is when the logs stop
This problem seems to have started with the upgrade to Xcode 5.1.1. Any ideas on how to bring back my lovely messages?