Single Application Instance Example

C

Chris Lambacher

Does anyone know of an example of how to make a Python program only
run a single instance. I am specifically looking for examples for
win32.

I think I should be able to do this with win32all but the method is
not obvious. Preferably I would like to be able to get a handle to
the already running instance so that I can push it to the foreground
as well.

Thanks
-Chris
 
D

DeRRudi

Whit this mutex is it possible when an instance is running in
background and you try to open a new instance. you cancel it and show
the first?

Greetz
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,982
Messages
2,570,185
Members
46,736
Latest member
AdolphBig6

Latest Threads

Top