# Std out message from threads

**URL:** <https://www.ruby-forum.com/t/std-out-message-from-threads/124029>\
**Category:** Ruby\
**Created:** [December 23, 2007, 7:20pm UTC](https://www.ruby-forum.com/t/std-out-message-from-threads/124029 "2007-12-23T19:20:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Junkone](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/e274bd/32.png) [@Junkone](https://www.ruby-forum.com/u/Junkone)\
**Post date:** [December 23, 2007, 7:20pm UTC](https://www.ruby-forum.com/t/std-out-message-from-threads/124029/1 "2007-12-23T19:20:40Z")

</div>

hello i am running multiple theads like this

thread1=Thread.new do  
puts "Thread 1 started "  
system(“start E:\TradingTools\IBController  
\IBControllerStart\_customised.bat”)  
end  
#end  
thread2=Thread.new do  
puts "Thread 2 started "  
application = WIN32OLE.new(“Broker.Application”)  
end

When thread1 starts, it sometimes outputs some error messages as i can  
see it being printed to the ruby console.How do i monitor the text  
being printed by thread1 so that i can shut down the thread1 if needed

seede
