Re: NSTask troubles
Re: NSTask troubles
- Subject: Re: NSTask troubles
- From: "R. Matthew Emerson" <email@hidden>
- Date: Thu, 12 Jul 2007 19:48:25 -0400
On Jul 12, 2007, at 7:29 PM, John Stiles wrote:
2. Change your program to use a pseudo-tty rather than a pipe.
3. Change atos itself so that it either (a) doesn't use output
buffering or (b) does an explicit fflush() after printing each
result.
For option 2, this is unfamiliar territory for me, so do you know
where I could find any sort of example code?
This might be simple enough for you to use forkpty(3).
If you've got access to a copy of Stevens's _Advanced Programming in
the Unix Environment_, there's a chapter in it that addresses the use
of ptys.
_______________________________________________
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