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  2012  <20132014  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  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: how to issue a shell command from EPICS record ?
From: Dirk Zimoch <[email protected]>
To: "Konrad, Martin" <[email protected]>
Cc: "[email protected]" <[email protected]>
Date: Thu, 03 Oct 2013 11:55:09 +0200
On 03.10.2013 11:53, Dirk Zimoch wrote:
On 02.10.2013 17:08, Konrad, Martin wrote:
Hi Dirk,
StreamDevice. It has an exec command.
Doesn't the exec command only pass commands to the IOC shell? Christian
was asking about running a bash script. Is it possible to run that as
well?

Martin


3.14.12 implements the "system" iocsh command. Thus you can do this:

start { exec 'system "startscript arguments"'; }

maybe you need

start { exec 'system "/bin/sh -c \"startscript arguments\""'; }

I have not tried. :- )


Or even this:

start { exec 'system "startscript -value=%f"'; }



References:
Re: how to issue a shell command from EPICS record ? Konrad, Martin
Re: how to issue a shell command from EPICS record ? Konrad, Martin
Re: how to issue a shell command from EPICS record ? Dirk Zimoch

Navigate by Date:
Prev: Re: how to issue a shell command from EPICS record ? Dirk Zimoch
Next: Re: Sending alarm warnings via email and text Pete Jemian
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: how to issue a shell command from EPICS record ? Dirk Zimoch
Next: EPICS Device Support for PowerPMAC, Attocube and SSH Philip Taylor
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 20 Apr 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·