• 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 oddity with getting stdout
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: NSTask oddity with getting stdout
      • From: Ken Thomases <email@hidden>
References: 
 >Re: NSTask oddity with getting stdout (From: Shane Stanley <email@hidden>)

  • Prev by Date: Re: NSFileManager - a cautionary tale
  • Next by Date: Safari 5.1 update
  • Previous by thread: Re: NSTask oddity with getting stdout
  • Next by thread: Re: NSTask oddity with getting stdout
  • Index(es):
    • Date
    • Thread