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: 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 |
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.