Passing params to single instance of wxApp
Miki Tebeka
tebeka at cs.bgu.ac.il
Tue Mar 25 07:10:44 EST 2003
Hello,
> I want my app to only allow one instance, the problem is that it is
> associated with a file type so when another of that file type is
> opened I end up with two instances. I used the wxSingleInstanceChecker
> to stop this from occuring but I really want to pass the params (i.e.
> new filename) to the running app. Any ideas?
I'd use some sort of RPC to notify the other application (TCP/IP with
known port?) just before closing the new one.
Ugly but should work.
HTH.
Miki
More information about the Python-list
mailing list