bgkirkla has asked for the wisdom of the Perl Monks concerning the following question:
I have a dashboard type app that launches other apps with buttons, like button A, button B, etc.. I use the system() function to launch the programs when a user clicks a button. How do I make it wait so that after a button is clicked and another Perl/Tk program is started, the user cannot start another copy of the program by clicking on the button in the dashboard until the previous program is closed? Right now, with system(), the user can start as many versions of the program as he wants just by clicking on the button in the dashboard a bunch of times.
Thanks...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Perl/Tk question about starting programs via a button
by jethro (Monsignor) on Feb 24, 2010 at 23:31 UTC | |
|
Re: Perl/Tk question about starting programs via a button
by Khen1950fx (Canon) on Feb 24, 2010 at 23:44 UTC | |
|
Re: Perl/Tk question about starting programs via a button
by zentara (Cardinal) on Feb 25, 2010 at 13:47 UTC | |
|
Re: Perl/Tk question about starting programs via a button
by doug (Pilgrim) on Feb 25, 2010 at 17:40 UTC |