Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 2ff1396273712f2b340d4cfc7170cc409430ed813d371fa46017e30ca3330904
Ticket: f10d91c2d39e1b015be44c41840f4cd0b4f4640f
dead-console busy-loop in tclWinConsole.c
User & Date: apnadkarni on 2026-07-13 07:59:33
Changes

  1. icomment:
    Proposed fix is in [bug-f10d91c2] branch. However, note that with the fix in place, the process still does not exit though CPU usage is 0. This is by intent as it is not clear (at the driver level) whether process should exit on stdin closure, and secondly, whether errors should be treated as eof.
    
    IMO, it is up to the stdin file event handler to catch the error that will be generated on the read in the event callback and take appropriate action (exit or whatever.)
    
  2. login: "apnadkarni"
  3. mimetype: "text/x-markdown"