Problems with reading NSPipe data
Problems with reading NSPipe data
- Subject: Problems with reading NSPipe data
- From: Onar Vikingstad <email@hidden>
- Date: Tue, 20 Aug 2002 00:31:36 +0200
After I installed 10.2, I have problems with running (compiling goes
fine) a piece of code:
string=[[NSString alloc] initWith
Data:[handle readDataToEndOfFile]
encoding:NSASCIIStringEncoding];
Would anyone know what could fail here? handle is of type NSFileHandle
and is set with [pipe fileHandleForReading]. That data comes from
setStandardOutput:pipe in an NSTask.
Has any of this been changed in 3.1, or maybe something in the
frameworks? I've been looking, but think (as usual) that it's my own
screwup somewhere...
--
Onar Vikingstad - email@hidden
http://www.vikingstad.com
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.