• 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: John Stiles <email@hidden>
  • Date: Thu, 12 Jul 2007 15:17:34 -0700

On Jul 12, 2007, at 3:10 PM, Dave Camp wrote:


On Jul 12, 2007, at 2:56 PM, John Stiles wrote:

For the curious, here are the implementations of WriteLine and ReadLine. I don't think there are any problems here but I'm sure if I don't post it, somebody will ask :) (Though if someone knows a better way to do ReadLine, I'd like to know.)

Maybe there is buffering on the pipes and you need to flush them or set them to an unbuffered mode?

Well, when I was using the popen path, I experimented with fflush for quite some time and didn't get anywhere. I also am not sure how this would be a PowerPC-specific issue. But if you have a specific suggestion I'd be happy to try it.


_______________________________________________

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: Dave Camp <email@hidden>)

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