Re: NSFileHandle stdin sends ∞ notifications of 0 bytes available
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