Sorry, I just skimmed through it because I was sort of busy. I'll take a
closer look to it and then apply it on my code to see how it goes.

Thanks.


2014-08-15 11:03 GMT-03:00 Hashem Nasarat <has...@riseup.net>:

> The module I linked to could be used to implement this.
>
> On 08/15/2014 09:00 AM, Leandro Poblet wrote:
> > Hello,
> >
> > What I'm referring as locking is to avoid the same .exe to execute
> > twice, like this: http://i.imgur.com/MLqr73c.png
> >
> > I know how to do this if I execute the .py file, but I don't know how to
> > do it properly with an .exe file.
> >
> >
> > 2014-08-14 18:43 GMT-03:00 Hashem Nasarat <has...@riseup.net
> > <mailto:has...@riseup.net>>:
> >
> >     Are you looking for something like
> >     https://github.com/pycontribs/tendo/blob/master/tendo/singleton.py ?
> >
> >     On 08/14/2014 10:16 AM, Leandro Poblet wrote:
> >     > Hello,
> >     >
> >     > Is there a way to lock the .exe within python? Because I have a
> small
> >     > GUI that can be opened more than once and I haven't find anything
> >     about
> >     > this once It's compiled.
> >     >
> >     >
> >     >
> >
>  
> ------------------------------------------------------------------------------
> >     >
> >     >
> >     >
> >     > _______________________________________________
> >     > cx-freeze-users mailing list
> >     > cx-freeze-users@lists.sourceforge.net
> >     <mailto:cx-freeze-users@lists.sourceforge.net>
> >     > https://lists.sourceforge.net/lists/listinfo/cx-freeze-users
> >     >
> >
> >
> >
>  
> ------------------------------------------------------------------------------
> >
> >     _______________________________________________
> >     cx-freeze-users mailing list
> >     cx-freeze-users@lists.sourceforge.net
> >     <mailto:cx-freeze-users@lists.sourceforge.net>
> >     https://lists.sourceforge.net/lists/listinfo/cx-freeze-users
> >
> >
> >
> >
> >
> ------------------------------------------------------------------------------
> >
> >
> >
> > _______________________________________________
> > cx-freeze-users mailing list
> > cx-freeze-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/cx-freeze-users
> >
>
>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> cx-freeze-users mailing list
> cx-freeze-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/cx-freeze-users
>
>
------------------------------------------------------------------------------
_______________________________________________
cx-freeze-users mailing list
cx-freeze-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cx-freeze-users

Reply via email to