Re: [ROOT] Root Says >

From: Fons Rademakers (Fons.Rademakers@cern.ch)
Date: Mon Mar 04 2002 - 19:06:36 MET


You have to reopen the stdin and stderr to a file and then read this
file in a widget. Example of how to do that can be found here:

http://root.cern.ch/lxr/source/proof/src/TProofServ.cxx#813

Cheers, Fons.



On Sat, 2002-03-02 at 02:26, Frederic Sarazin wrote:
> Hello Rooters,
> 
> I'm currently using Qt to create a "UserFriendly" spectra viewer.
> One of the small application I'm writing is to be able to type the ROOT
> command directly (for expert or debugging purposes)...
> I create my on-line Root Command line etc... but I would like to add a
> widget which displays "what Root says"... like errors, info, fit
> parameters etc...
> 
> Do you know the command which allows to "capture" the interactive
> messages
> of Root ?
> 
> Thanks a lot,
> 
> Fred
-- 
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland
E-Mail: Fons.Rademakers@cern.ch              Phone: +41 22 7679248
WWW:    http://root.cern.ch/~rdm/            Fax:   +41 22 7679480



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:44 MET