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  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 
<== Date ==> <== Thread ==>

Subject: MEDM
From: Andy Foster <ajf@observatorysciences.co.uk>
To: tech-talk@aps.anl.gov
Date: Thu, 17 Mar 2011 23:34:16 +0000 (GMT)
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


Replies:
Re: MEDM John Hammonds

Navigate by Date:
Prev: Modbus R2-2 available Mark Rivers
Next: Re: MEDM John Hammonds
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 
Navigate by Thread:
Prev: Modbus R2-2 available Mark Rivers
Next: Re: MEDM John Hammonds
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 
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 ·