On 1/2/10, Shay Hawkins <gohegdeh / comcast.net> wrote:
> Brian Candler wrote:
>> Oh, and there is also IO.pipe, which is unidirectional under most Unix
>> flavours.
>
> I've tried pipes, but it seems to always think there's data to be read.
> Here's the code I was testing it with:

My recollection is that on windows, select only works on sockets. It
doesn't do anything useful with pipes. You are far from being the
first programmer to regret that this is the case.