From: Marcin Tyman Date: 2007-07-03T19:47:40+09:00 Subject: Thread Hi, My code looks similar to following: -------------------------------------------- def someFunction() #do telnet connection #execute binary file which throws on std its output endlessly end tr = Thread.new() { someFunction() } while true # # sth to done .... # # and show tr status puts "Status tr: #{tr.status}" end -------------------------------------------- someFunction executes telnet command which executes an application which throws debug messages on output - this output is continually writes to a file. Summary: telnet command never ends ( I hope so ). In main thread in each iteration of while loop I've tried to puts tr status but each time it notifies that tr.status => sleep Can anybody explain me what is wrong or explain me what Thread#status statuses means? Thanks in advance. -- Posted via http://www.ruby-forum.com/.