What Scott said. I use NSFileManager to create a file in NSTemporaryDirectory(), then point an NSFileHandle to that file for writing. That NSFileHandle becomes the standard out of the task, and all the output of the task is written to the file, which I can then peruse and reuse later at my convenience.
Dave On Nov 27, 2010, at 9:12 AM, Ben Haller wrote: > Dave, not sure what you mean here. NSPipe uses NSFileHandle. Does using an > NSFileHandle directly change things somehow? If so, why? _______________________________________________ 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com