in reply to Tk::ExecuteCommand - GUI not responding by executing longer running script
So your options are either to switch to the IPC::Run module, or use threads.
Since windows use threads anyways, you may as well go with threads. Threads and Tk can work very well together with some precautions. See Tk-with-worker-threads for a starting point. The main precautions are to create your threads first, before any Tk code is called. Keep Tk code only in the main thread. Use shared variables to communicate between threads.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Tk::ExecuteCommand - GUI not responding by executing longer running script
by dzon (Novice) on Feb 05, 2008 at 15:57 UTC | |
by zentara (Cardinal) on Feb 05, 2008 at 21:12 UTC | |
by dzon (Novice) on Feb 07, 2008 at 10:23 UTC | |
by dzon (Novice) on Feb 13, 2008 at 14:22 UTC | |
by TGI (Parson) on Feb 13, 2008 at 20:10 UTC |