Re: Reading data from an NSTask [SOLVED]
Re: Reading data from an NSTask [SOLVED]
- Subject: Re: Reading data from an NSTask [SOLVED]
- From: mmalcolm crawford <email@hidden>
- Date: Mon, 4 Jul 2005 17:27:20 -0700
On Jul 4, 2005, at 4:11 PM, Ken Tozier wrote:
NSTask *testTask = [[NSTask alloc] init];
autorelease?
NSLog(@"task failed with error = %@", [[NSString alloc]
initWithData: taskData encoding: NSUnicodeStringEncoding]);
This also leaks. It also seems "risky" if, say, the data size is in
the megabyte range and fails just before completion. Moreover, the
string encoding may well be something other than Unicode...
mmalc
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden