Re: NSTask and avoiding buffered standard out
Re: NSTask and avoiding buffered standard out
- Subject: Re: NSTask and avoiding buffered standard out
- From: Ingvar Nedrebo <email@hidden>
- Date: Wed, 14 Aug 2002 19:37:38 +0100
On Wednesday, August 14, 2002, at 06:58 , Jim Correia wrote:
On Wednesday, August 14, 2002, at 01:43 PM, Ingvar Nedrebo wrote:
The setvbuf call needs to be in the client tool, your "std-test".
Is this true even if I do a setvbuf after the fork (in the child) but
before the exec?
Yes. Whatever you do to a stream is not remembered across exec (to be
precise, stdio streams are per-process objects and so are not kept
across exec).
_______________________________________________
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.