Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019 
<== Date ==> <== Thread ==>

Subject: RE: ENV Variables in EDM
From: "Szalata, Zenon M." <zms@slac.stanford.edu>
To: Dirk Zimoch <dirk.zimoch@psi.ch>
Cc: "tech-talk@aps.anl.gov" <tech-talk@aps.anl.gov>
Date: Thu, 15 Mar 2012 15:10:37 -0700
Hi Dirk,
Thank you for your suggestion.  I did not use it because John Sinclair offered an "EDM" solution:
-----------------
use this form:
/opt/myarea/bin/<env:ARCH>/command
which works.
-------------------

Zen

> -----Original Message-----
> From: Dirk Zimoch [mailto:dirk.zimoch@psi.ch]
> Sent: Thursday, March 15, 2012 9:14 AM
> To: Szalata, Zenon M.
> Cc: tech-talk@aps.anl.gov
> Subject: Re: ENV Variables in EDM
> 
> Hi Zen,
> 
> I am not familiar with EDM, but this looks like the shell, not EMD is
> executing "/opt/myarea/bin/$(ARCH)/command". For the shell, $(xxx)
> means: execute command "xxx" and use its stdout output as a value. Try
> ${ARCH} or $ARCH instead.
> 
> Dirk
> 
> 
> Szalata, Zenon M. wrote:
> > I would like to be able to specify command path using an environment
> > variable in the Shell Command widget.
> >
> > For example I would like to have path like this:
> >
> > /opt/myarea/bin/$(ARCH)/command
> >
> > where ARCH is an environment variable.  In my case it can have value
> > arch-32 or arch-64 value.
> >
> > When I do that I get an error message:
> >
> >
> >
> > sh: arch-32: No such file or directory
> >
> >
> >
> > How can this be done?
> >
> > Any help will be appreciated.
> >
> > Thanks,
> >
> > Zen
> >



References:
ENV Variables in EDM Szalata, Zenon M.
Re: ENV Variables in EDM Dirk Zimoch

Navigate by Date:
Prev: Re: waveform ENUM FTVL or BOOL FTVL Tim Mooney
Next: RE: Synchronising CA shut down michael.abbott
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019 
Navigate by Thread:
Prev: Re: ENV Variables in EDM Dirk Zimoch
Next: EPICS performance evaluation ssahoo
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019 
ANJ, 18 Nov 2013 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·