Re: NSTask troubles
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