We use the system() call which uses /bin/sh. So to do what you want do: .! . .setup.sami i.e. replace "source" by a ".". Cheers, Fons. On Mon, 2002-08-05 at 19:07, Sebastien Greder wrote: > > Hello Rooters, > > I have a simple pb in a root session : > > root [6] .! date > Mon Aug 5 11:42:56 CDT 2002 > root [7] .! source .setup.sampi > sh: source: not found > > but a man source gives an output. > > So I was wondering if ROOT does not know about all shell commands ? > Or there are some protected commands ? > > In fact I would like to do a : gROOT->ProcessLine("source .afilename") > in my script. > > > Running with version 3.03/07 under IRIX, version built with KCC 4.0 > > Cheers, > > sebastien -- 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:51:03 MET