Re: NSTask with unzip
Re: NSTask with unzip
- Subject: Re: NSTask with unzip
- From: Dave DeLong <email@hidden>
- Date: Sat, 27 Nov 2010 09:55:35 -0800
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 (email@hidden)
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:
This email sent to email@hidden