EPICS Controls 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  2020  2021  2022  2023  2024  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  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: ENV Variables in EDM
From: "Szalata, Zenon M." <[email protected]>
To: "[email protected]" <[email protected]>
Date: Wed, 14 Mar 2012 10:03:13 -0700

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


Replies:
Re: ENV Variables in EDM Dirk Zimoch

Navigate by Date:
Prev: Re: iocshCmd, redirection, and function pointers Eric Norum
Next: RE: iocshCmd, redirection, and function pointers Kim, Kukhee
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  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: Synchronising CA shut down Hill, Jeffrey O
Next: Re: ENV Variables in EDM Dirk Zimoch
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  2020  2021  2022  2023  2024 
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 ·