From: Axel Etzold Date: 2008-05-27T06:58:11+09:00 Subject: Re: How to catch STDIO STREAM? -------- Original-Nachricht -------- > Datum: Tue, 27 May 2008 06:52:55 +0900 > Von: Cheyne Li > 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