From: Cheyne Li Date: 2008-05-27T06:52:55+09:00 Subject: How to catch STDIO STREAM? Hi, there How can I capture a error massage from the STD IO? For instance, I have a program call foo.exe and i run the program ./foo.exe Then the program prints out some error messages. How can I write a script that capture the errors and save then into a file? -- Posted via http://www.ruby-forum.com/.