From: greg Date: 2006-09-29T23:48:37+09:00 Subject: Re: how to determine if pipe is given should be old = input ? input.dup : nil However, a duration of time must be specified to wait for the pipe or timeout. So I guess IO is pain :)