Single Application Instance Example

Discussion in 'Python' started by Chris Lambacher, Jun 14, 2005.

  1. 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
    --
    Christopher Lambacher
     
    Chris Lambacher, Jun 14, 2005
    #1
    1. Advertising

  2. Chris Lambacher

    DeRRudi Guest

    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
     
    DeRRudi, Jun 23, 2005
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Randall Parker
    Replies:
    1
    Views:
    611
    S. Justin Gengo
    Dec 12, 2005
  2. Chris
    Replies:
    1
    Views:
    13,690
    Oisin
    Mar 24, 2006
  3. chris brat
    Replies:
    1
    Views:
    651
    chris brat
    May 10, 2006
  4. Eric Layman
    Replies:
    3
    Views:
    644
    Rad [Visual C# MVP]
    Apr 14, 2007
  5. goodfella

    single producer, single consumer

    goodfella, Oct 6, 2009, in forum: C++
    Replies:
    41
    Views:
    1,949
    James Kanze
    Oct 12, 2009
Loading...

Share This Page