Hi guys, how can I disallow multiple istances of my wxPython applications??
There is a way to do it using wxPython?? or I have tu use different approaches??
Sponsor:
Cerchi le recensioni su Mostre e Fiere verdi? Oppure le schede di
mantenimento delle piante da interno? Vai su Artefiori Magazine...
SFOGLIALA, NON APPASSISCE!
clicca qui
Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=549&d=17-12
Hi guys, how can I disallow multiple istances of my wxPython
applications?? There is a way to do it using wxPython?? or I
have tu use different approaches??
How than can the command line argument values be
passed to the already running instance. eg an editor
(in my case spe, http://spe.pycs.net) needs to open
than another file?
Stani
···
--- Paul McNett <p@ulmcnett.com> wrote:
darkbard writes:
> Hi guys, how can I disallow multiple istances of
my wxPython
> applications?? There is a way to do it using
wxPython?? or I
> have tu use different approaches??
How than can the command line argument values be
passed to the already running instance. eg an editor
(in my case spe, http://spe.pycs.net) needs to open
than another file?
There is no built-in way to do it, but it's not hard to implement yourself. You just need to devise some simple form of IPC to pass a messages to the already running app.
···
--
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!
There is no built-in way to do it, but it's not hard to implement yourself. You just need to devise some simple form of IPC to pass a messages to the already running app.
There is no built-in way to do it, but it's not hard to implement yourself. You just need to devise some simple form of IPC to pass a messages to the already running app.
Can you give us an example please??
xmlrpc, named pipes, raw sockets, etc. You could even just drop a file in some predetermined directory that the sole running instance checks periodically...
···
--
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!