Re: [ROOT] interpreter ignores aliases

From: Fons Rademakers (Fons.Rademakers@cern.ch)
Date: Tue Mar 23 2004 - 12:49:18 MET


Hi Thomas,

 the system() call executes "sh -c <command>" which does not read your
.profile or .bashrc file. You could do:

.!sh -l -c alias

or 

.!bash -l -c alias

Cheers, Fons.



On Tue, 2004-03-23 at 10:35, Thomas Bretz wrote:
> Dear all,
> 
> when executing a shell command in the interpreter, eg
> .!mycommand
> it seems that all set aliases are ignored. This is somehow inconviniet. 
> Can this be changed, please?
> 
> Thanks in advance,
> Thomas.
-- 
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland
E-Mail: Fons.Rademakers@cern.ch              Phone: +41 22 7679248
WWW:    http://www.rademakers.org/fons/      Fax:   +41 22 7679480



This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:06 MET