From: "undur_gongor (Michael Warmuth)" Date: 2012-06-28T06:37:31+09:00 Subject: [ruby-core:45920] [ruby-trunk - Bug #6661][Open] Timeout not working with IO on Windows Issue #6661 has been reported by undur_gongor (Michael Warmuth). ---------------------------------------- Bug #6661: Timeout not working with IO on Windows https://bugs.ruby-lang.org/issues/6661 Author: undur_gongor (Michael Warmuth) Status: Open Priority: Normal Assignee: Category: Target version: ruby -v: Ruby 1.9.3p194 (2012-04-20) [i386-mingw32] This code does not time out as expected when run on Ruby 1.9.3p194 (2012-04-20) [i386-mingw32]: require 'timeout' Timeout.timeout(1) { gets } On different Unix-like OSes it does time out after 1 second with different versions of Ruby. -- http://bugs.ruby-lang.org/