• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSTask troubles
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >NSTask troubles (From: John Stiles <email@hidden>)
 >Re: NSTask troubles (From: Alastair Houghton <email@hidden>)
 >Re: NSTask troubles (From: John Stiles <email@hidden>)
 >Re: NSTask troubles (From: Alastair Houghton <email@hidden>)
 >Re: NSTask troubles (From: John Stiles <email@hidden>)

  • Prev by Date: Re: NSTask troubles
  • Next by Date: Re: NSTask troubles
  • Previous by thread: Re: NSTask troubles
  • Next by thread: Re: NSTask troubles
  • Index(es):
    • Date
    • Thread