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

Subject: Re: MEDM
From: John Hammonds <[email protected]>
To: Andy Foster <[email protected]>
Cc: "[email protected]" <[email protected]>
Date: Thu, 17 Mar 2011 20:45:39 -0500 (CDT)
Andy,

If you launch the screens with medm's -attach option then screens should try to attach to an already running medm process.  This should help reduce the number of Medm parent windows floating around.  

John

------------------------------------
John Hammonds
Sent from my mobile office

On Mar 17, 2011, at 6:37 PM, Andy Foster <[email protected]> wrote:

> 
> To all MEDM experts,
> 
> I may have missed something but is there an MEDM exit button?
> 
> I'm in a situation where I'm starting MEDM screens from an
> EDM shell command. When I've finished with the MEDM screen,
> just clicking on the "X" (close window) in the top right-hand
> corner, leaves behind the parent "medm" application. Obviously,
> after a while, my desktop is littered with "medm" processes and
> it also has the effect of not letting me start-up the same screen
> twice (with the shell command from EDM - saying that it's already active).
> 
> I've got round this, by adding a shell command to the MEDM screen called
> EXIT, which does this:
> 
> kill $(ps aux | grep 'medm' | awk '{print $2}')
> 
> However, this is very brutal, killing all instances of MEDM on
> my machine.
> 
> Is there a more elegant solution?
> 
> Cheers,
> 
> Andy
> 


References:
MEDM Andy Foster

Navigate by Date:
Prev: MEDM Andy Foster
Next: Codeathon Postponed Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: MEDM Andy Foster
Next: Codeathon Postponed Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 18 Nov 2013 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·