From: James Edward Gray II Date: 2007-01-28T10:13:28+09:00 Subject: Net::HTTP Closes STDIN Kenneth Kalmer has brought up a HighLine issue and I'm trying to look into it. Oddly, it seems to happen when interacting with the Net::HTTP library. I've narrowed it done to the following example on my box: $ cat stdin_closed_issue.rb require 'net/http' require 'io/wait' Net::HTTP.start('www.ruby-lang.org', 80) do |http| body = http.get('/en/license.txt').body end p $stdin.eof? $ ruby stdin_closed_issue.rb true Can anyone explain why $stdin is closed after the page read? James Edward Gray II