Inhibiting duplicate apps in Windows?

Edward K. Ream edream at tds.net
Fri Jun 21 09:43:26 EDT 2002


> What I would like is for the second copy of Leo to detect that another
> copy of leo.py is already running, send a message to the first copy and
> then exit. I wonder if anyone knows how this might be done?

This morning I realize that a workaround would be to implement a "Recent
Files" menu. This would be especially useful in Leo, as .leo files
typically represent many other files.  This doesn't solve the stated
problem, and will be good enough in practice.

Edward
--------------------------------------------------------------------
Edward K. Ream   email:  edream at tds.net
Leo: Literate Editor with Outlines
Leo: http://personalpages.tds.net/~edream/front.html
--------------------------------------------------------------------



More information about the Python-list mailing list