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 2025 | 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 2025 |
<== Date ==> | <== Thread ==> |
---|
Subject: | RE: Killing caRepeater on Windows 10 |
From: | Freddie Akeroyd - UKRI STFC via Tech-talk <[email protected]> |
To: | "[email protected]" <[email protected]> |
Date: | Tue, 14 Jan 2020 23:31:25 +0000 |
Hi, The PATH variable is actually number 6 in the list of places the windows CreateProcess() function will look for the caRepeater executable
https://docs.microsoft.com/en-us/windows/win32/api/processthreadsapi/nf-processthreadsapi-createprocessa The first place is the directory of the calling executable, so it should normally launch the caRepeater.exe that is in the same directory as caget.exe
You can check this by right clicking on the caRepeater process in “process explorer” and looking at the Image tab.
So I just tried the caget test (windows 10, base 7.0.3.1, windows-x64-debug) and I can see caRepeater in task manager; I had another
epics 7 build elsewhere (windows-x64) and with this build I don’t see a caRepeater in task manager. So something strange is going on…
I had a brief look at osdProcess.c and noticed that the child process bases some of its STARTUPINFO on that of the parent and also
doesn’t close the handles returned in the “processInfo” structure, not sure if any of this may prove relevant but if I can find some time I’ll take a deeper look
Regards, Freddie From: Tech-talk <[email protected]>
On Behalf Of Mark Rivers via Tech-talk Ø
Have you tried manually running the caRepeater to see if it then shows up in Task Manager? For me it does appear in the output of tasklist If caRepeater is run manually, and it is not already running, then it shows up in Task Manager. This happens with all versions. This is a console program that ties up the console until it is
killed. caRepeater always shows up in tasklist, no matter if is started manually or automatically. Mark From: Tech-talk <[email protected]>
On Behalf Of Johnson, Andrew N. via Tech-talk Hi Mark, On 1/14/20 11:42 AM, Mark Rivers via Tech-talk wrote:
--
Complexity comes for free, Simplicity you have to work for.
|