Hi George, you could try a local .rootrc in the directory where you run the root -b -q session. In this .rootrc set the resource: Rint.History: $(HOME)/.root_hist to some other name (/tmp/junk). Using the latest version in CVS you can do: Rint.History: - to turn it off all together. Cheers, Fons. George Heintzelman wrote: > > Rudi Lutter wrote: > > On Mon, 26 Jun 2000, George Heintzelman wrote: > > >Hi rooters, > > > > > >Since we sometimes run root in an automated process, it is a little > > >annoying that we turn up with the commands executed in this automated > > >mode nevertheless in the .root_hist. Even if I do: > > > > > >root -b -q <scriptname> > > > > > Hi George, > > > > I solved this problem by appending a gSystem->Exit(0) at the end of my script. > > Rudi, > > This doesn't seem to work for me. I tried the following test script (~/test/test_hist.C): > > { > cout << "Test script." << endl; > gSystem->Exit(0); > } > > And then did: > root -q -b ~/test/test_hist.C > > and '.x ~/test/test_hist.C' appeared in the .root_hist file. Am I missing something? > > George Heintzelman > gah@bnl.gov -- 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 7677910
This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:29 MET