Index: library/lib/nx-shell.tcl =================================================================== diff -u -N -r0956bd063e7aaa155b4dccad0997b381ddd5ec15 -rf83d0a10ec39835f870e3e9191bddf9d324d6cd5 --- library/lib/nx-shell.tcl (.../nx-shell.tcl) (revision 0956bd063e7aaa155b4dccad0997b381ddd5ec15) +++ library/lib/nx-shell.tcl (.../nx-shell.tcl) (revision f83d0a10ec39835f870e3e9191bddf9d324d6cd5) @@ -7,8 +7,8 @@ :public object method onRead {{chan stdin}} { append :line [read $chan] if {[eof $chan]} { + set :forever 0 fileevent $chan readable {} - set :forever eof } if {${:line} eq "\n"} { unset :line