From: Foo Ji-H. <jh...@ne...> - 2006-02-14 10:05:23
|
If you're writing for windows you can check the process list. ----- Original Message ----- From: "Peter" <lan...@fr...> To: "wxPerl mailing list" <wxp...@li...> Sent: Tuesday, February 14, 2006 5:51 PM Subject: [wxperl-users] Allowing only a single instance of a program > Is there a Wx function or some other way to make sure that the user can > only start a single instance of a program? My wxPerl application > distributed as a perlapp package starts up fairly slowly. The user might > be tempted to click on the icon again and start it up twice which might > lead to confusion. > > Is there a way for a program to detect that another instance of itself > is already running? > > Thanks for any help, > Peter > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 > _______________________________________________ > wxperl-users mailing list > wxp...@li... > https://lists.sourceforge.net/lists/listinfo/wxperl-users |