This is really a ruby question, but it is probably of interest to people doing simple testing so I try asking it here.
I just wrote my first testing script with Watir. I want to test a web server performance so I want the script to run for long time, saving output to a log file. So after testing the script - which runs fine - I want to run it in a more useful way for everyday use. My usual way of doing this is something like watir-check.rb 2>&1 | tee watir-check.tmp I am using Windows XP so this is run in cmd.exe, but it normally works with this syntax. (tee.exe is from gnuwin32.) This did not work, the .tmp file is created but is empty and I see nothing in the console window. Sometimes I have seen some problems with redirection using the file associations like this so I tried this version instead: ruby watir-check.rb 2>&1 | tee watir-check.tmp Still the same problem. I tried to simplify even more: ruby watir-check.rb > watir-check.tmp To my surprise not even this worked. So -- does anyone do something like this? If so how? Is this a known problem with ruby? - L _______________________________________________ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general