From: Siep Korteling Date: 2007-12-24T21:01:07+09:00 Subject: Re: access contents of the output windows Junkone wrote: > hello > I am running this as a separate thread. > system("start E:\\TradingTools\\IBController\ > \IBControllerStart_customised.bat") > > how can i access the stdout of this tread- basically capturing all the > data streaming out of this dos window of this batch file exectuion. Maybe this works for you: output = `start E:\\TradingTools\\IBController\\IBControllerStart_customised.bat` Note the " ` ", it's a backtic, not a single quote (" ' "). see http://www.ruby-forum.com/topic/136336 -- Posted via http://www.ruby-forum.com/.