1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 <2013> 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 2012 <2013> 2014 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:53:21 +0200 |
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"'; } Or even this: start { exec 'system "startscript -value=%f"'; }