Re: NSTask oddity with getting stdout
Re: NSTask oddity with getting stdout
- Subject: Re: NSTask oddity with getting stdout
- From: Scott Ribe <email@hidden>
- Date: Tue, 26 Jul 2011 22:22:57 -0600
On Jul 26, 2011, at 5:52 PM, Shane Stanley wrote:
>> Maybe you should try to re-open your bug ;-)
>
> I did, but no reply.
Too bad, since it seems to me the person who responded didn't know what they were talking about.
> In Snow Leopard that worked fine; a notification would be sent when new data
> was written to the file. In Lion, as soon as it's called it goes into a
> loop; each time readInBackgroundAndNotify is sent, a new notification comes
> straight back.
An actual file? I'm reading from a pipe, so that could be one difference.
I would expect that to go into a loop once a data of length 0 comes in, but not before.
--
Scott Ribe
email@hidden
http://www.elevated-dev.com/
(303) 722-0567 voice
_______________________________________________
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