Re: Problem with reading an NSPipe->NSFileHandle to end
Re: Problem with reading an NSPipe->NSFileHandle to end
- Subject: Re: Problem with reading an NSPipe->NSFileHandle to end
- From: Jens Alfke <email@hidden>
- Date: Sun, 11 Apr 2010 13:26:53 -0700
You could use MYTask, or at least look at how it’s implemented, instead of writing your own code. NSTask is surprisingly tricky to use if you want to read the task output.
http://bitbucket.org/snej/myutilities/src/tip/MYTask.h
—Jens_______________________________________________
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