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
This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:29 MET