• 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: NSFileHandle stdin sends ∞ notifications of 0 bytes available
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSFileHandle stdin sends ∞ notifications of 0 bytes available


  • Subject: Re: NSFileHandle stdin sends ∞ notifications of 0 bytes available
  • From: Greg Parker <email@hidden>
  • Date: Thu, 12 Jun 2014 18:42:47 -0700

On Jun 12, 2014, at 5:43 PM, Jerry Krinock <email@hidden> wrote:
> On 2014 Jun 12, at 17:12, Greg Parker <email@hidden> wrote:
>> This sends "text" via stdin, then closes stdin. Nothing the user types will appear on stdin.
>>   echo "text" | ./YourTool
>
> I see.  Then the revised code is behaving correctly, so I should move on.  Have a good evening, Greg!

Precisely. If you don't like this behavior, you'll have to fight against 40-odd years of Unix shell development.


--
Greg Parker     email@hidden     Runtime Wrangler



_______________________________________________

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: 
 >NSFileHandle stdin sends ∞ notifications of 0 bytes available (From: Jerry Krinock <email@hidden>)
 >Re: NSFileHandle stdin sends ∞ notifications of 0 bytes available (From: Greg Parker <email@hidden>)
 >Re: NSFileHandle stdin sends ∞ notifications of 0 bytes available (From: Jerry Krinock <email@hidden>)
 >Re: NSFileHandle stdin sends ∞ notifications of 0 bytes available (From: Greg Parker <email@hidden>)
 >Re: NSFileHandle stdin sends ∞ notifications of 0 bytes available (From: Jerry Krinock <email@hidden>)

  • Prev by Date: Re: NSFileHandle stdin sends ∞ notifications of 0 bytes available
  • Next by Date: NSOutlineView floating group row question
  • Previous by thread: Re: NSFileHandle stdin sends ∞ notifications of 0 bytes available
  • Next by thread: NSOutlineView floating group row question
  • Index(es):
    • Date
    • Thread