Re: NSPipe or NSFileHandle buffering?
Re: NSPipe or NSFileHandle buffering?
- Subject: Re: NSPipe or NSFileHandle buffering?
- From: Sherm Pendley <email@hidden>
- Date: Sun, 1 Dec 2002 12:00:31 -0500
On Sunday, December 1, 2002, at 11:41 AM, mw wrote:
I just wasn't think how exact the "emulation" of a terminal is with
NSTask
launching CL applications.
There is no emulation. What the parent app sends is what the child app
gets, byte-for-byte.
However, was it really
necessary to change all of the NSString-to-NSData conversion code like
that?
Strictly speaking, no - it was the lack of newlines that caused the
problem, not the conversion method.
However, the use of the cString method has been deprecated - that is,
support for it is scheduled to be dropped from some future version of OS
X, so it's not a good idea to get in the habit of using it.
sherm--
If you listen to a UNIX shell, can you hear the C?
_______________________________________________
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.