Hi I've been recently encountered a major problem with a program i am coding. Main in my program outputs a menu with some cases you can choose, 1,2,3.. so i have a gets at the end of the menu. However, my program also checks for timestamps with a seperate thread (thread 2). And it appeared that the thread bugged when I used gets, since i have 3 if conditions in my thread 2, and if i for example replace gets with sleep(200), the if conditions runs as it should. But when I have the gets, it never runs. Later I found out that there is appearently a bug in Ruby with standard I/O and threads in Windows? So, how can i workaround this bug? Is there any alternative method for input or so? Thanks -- Posted via http://www.ruby-forum.com/.