RE: Single Application Instance Example

2005-06-23 Thread Tim Golden
[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 All the Mutex is doing is providing a single token which only one instance of the app can hold at a time. Of itself, it doe

Re: Single Application Instance Example

2005-06-14 Thread Paul McNett
Chris Lambacher wrote: > 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. The Python Cookbook, Second Edition, page 380, recipe 9.9: Determining Whether Another Instance of a Script is Already Running

RE: Single Application Instance Example

2005-06-14 Thread Tim Golden
[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

Single Application Instance Example

2005-06-14 Thread 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