note
Anonymous Monk
<p> readline is blocking, this part <c> while (defined ($freeze_line =<freeze_script>) ) </c>
<p> while that is happening MainLoop is stuck
<p> This is typical of perl on windows
<p> [id://965487|Re^5: Client/Server sockets with TK on Win32], [id://894504|tk, fileevent, and MS Windows], [id://714691|Re: Please suggest a non-forking way to do this (OS: windows) (solution)]
<p> 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
1148798
1148807
5