in reply to Re: Perl tk gui freezes after pop up list is launched.
in thread Perl tk gui freezes after pop up list is launched.
readline is blocking, this part while (defined ($freeze_line =<freeze_script>) )
while that is happening MainLoop is stuck
This is typical of perl on windows
Re^5: Client/Server sockets with TK on Win32, tk, fileevent, and MS Windows, Re: Please suggest a non-forking way to do this (OS: windows) (solution)
The OP should be using modules to organize his code ... or if he really wants to stick with capturing the output of other scripts he should use threads
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Perl tk gui freezes after pop up list is launched. (readline)
by kcott (Archbishop) on Nov 30, 2015 at 00:35 UTC |