EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  <20032004  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  <20032004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Running iocsh in the background
From: Till Straumann <[email protected]>
To: "Kevin M. Peterson" <[email protected]>
Cc: tech-talk <[email protected]>
Date: Wed, 29 Jan 2003 14:34:30 -0800
Kevin M. Peterson wrote:

I have a Linux IOC and I am using the main function from R3.14.1's example App. After the IOC is initialized iocsh left in "interactive mode" just like the App. Dev. Guide describes.

Unfortunately, "shutting down" the Linux IOC dangerously
easy.  It isn't necessary to type the "exit" command; Closing
the terminal window or pressing Ctrl-C do the job with even
less effort.

Is it possible to start the Linux IOC and have it run in the
background?  The Linux IOC seems to be missing the
"non-interacting mode" that all of the vxWorks IOCs have.


Thanks ahead of time,


Kevin Peterson


Just modify your 'main' so it sleeps forever rather than exiting after having iocsh execute the startup script

HTH
-- Till.


References:
Running iocsh in the background Kevin M. Peterson

Navigate by Date:
Prev: RE: Running iocsh in the background Rarback, Harvey
Next: Problems with "mbufs" on vxWorks Jeff Hill
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  <20032004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Running iocsh in the background Kevin M. Peterson
Next: Re: Running iocsh in the background John Maclean
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  <20032004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 10 Aug 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·