-------- Original-Nachricht --------
> Datum: Tue, 27 May 2008 06:52:55 +0900
> Von: Cheyne Li <happy.go.lucky.clr / gmail.com>
> An: ruby-talk / ruby-lang.org
> Betreff: 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/.

Dear Cheyne,

have a look at this:

http://www.ruby-doc.org/stdlib/libdoc/open3/rdoc/index.html

Best regards,

Axel 
-- 
GMX startet ShortView.de. Hier findest Du Leute mit Deinen Interessen!
Jetzt dabei sein: http://www.shortview.de/?mc=sv_ext_mf@gmx