Re: [ROOT] batch without script

From: Rolf Dubitzky (dubitzky@pktw16.phy.tu-dresden.de)
Date: Fri Jan 12 2001 - 10:36:55 MET


> > and then execute that script in a way like
> > 
> > root -b {Float_t b = 1;Int_t c = 2;cout<<b<<c<<endl;}


$ echo '{cerr<<"hello"<<endl;gSystem->Exit(0);}' | root > /dev/null
hello
$

 I write to cerr, in order to redirect all the welcome to null. 

Cheers,
Rolf

***************************************************************
 Rolf Dubitzky  
 e-mail: Rolf.Dubitzky@Physik.TU-Dresden.de
 s-mail see http://hep.phy.tu-dresden.de/~dubitzky/
***************************************************************



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:33 MET