On Tue, Jul 31, 2012, at 03:33 PM, Mr. Gecko wrote: > I am having weird results with NSTask. It sometimes retrieves the output, > and other times receives nothing. > > I have example code for this issue at > https://dl.dropbox.com/u/610721/NSTask%20Issue.zip
NSTask requires a running runloop. Your code is a plain-ol' Foundation tool and doesn't have a runloop. I wouldn't be surprised if NSPipe has the same requirement. --Kyle Sluder _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com