Key press events make Tk hung and not responding
anymore on windows. This happens when a Tclsh/Wish is
executed in a command pipeline (via [open "|"]).
It can be easily reproduced in a Tclsh on windows (e.g.
in ActiveTcl's Tclsh84 or Tclsh85):
% set backend [open "| [info nameofexe]" r+]
% fconfigure $backend -buffering line
% puts $backend "package re Tk"
Then, click in the appearing wish main window and press
any key. The window hangs forever and the only way out
there is by
% puts $backend "exit"
in the Tclsh console from where the pipe was opened
I don't know about other platforms, just tried it out
on Windows.
Logged In: NO
Is this similar to bug 1779265?
Logged In: YES
user_id=1345135
Originator: YES
It could be, yes. But this has happened all the time and Tk must be killed to resolve it.