or is there is a way to directly write to a file using IO.popen.

-- 
Posted via http://www.ruby-forum.com/.