jdtoronto has asked for the wisdom of the Perl Monks concerning the following question:
I have a Perl/Tk app running under Windows. I ask you assistance in two instances:
1.. I need to start an external program - leave it running and return to the original program. exec reaplaces the original, and system runs the program but the original is blocked waiting for a return. How can I 'unblock' the original?
2.. In a Tk application I want to pace the rate at which an operation is done. The programme is sending emails to advise of various actions taken by the programme, but I only want one to be sent every 'n' seconds. That is all this program does, but in the intervening period I would like to be able to move the window and/or gain focus. How can I do this?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Run another program without blocking or exiting (Perl/Tk).
by BrowserUk (Patriarch) on Sep 02, 2005 at 06:46 UTC | |
by ikegami (Patriarch) on Sep 02, 2005 at 08:24 UTC | |
by BrowserUk (Patriarch) on Sep 02, 2005 at 08:50 UTC | |
by thundergnat (Deacon) on Sep 02, 2005 at 10:45 UTC | |
|
Re: Run another program without blocking or exiting (Perl/Tk).
by reneeb (Chaplain) on Sep 02, 2005 at 11:00 UTC | |
|
Re: Run another program without blocking or exiting (Perl/Tk).
by polypompholyx (Chaplain) on Sep 02, 2005 at 11:13 UTC | |
|
Re: Run another program without blocking or exiting (Perl/Tk).
by zentara (Cardinal) on Sep 02, 2005 at 11:33 UTC |