Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 1bf291e645695e9de02fd016e07c536f9876cb47
Ticket: 437489ffffffffffffffffffffffffffffffffff
Tk console breaks [exec]
User & Date: dgp on 2001-07-06 02:27:18
Changes

  1. icomment:
    Logged In: YES 
    user_id=80530
    
    Note that after this fix, the child process can
    start up, but it will have no standard channels.
    (File descriptors 0, 1, 2 will be closed).
    
    Unless the child process handles that possibility,
    there can still be trouble.  Note especially that
    if the child process includes a Tcl interp, the
    first 3 channels created will "become" stdin,
    stdout and stderr.  Unless that is controlled
    carefully, it will probably lead to unpredictable
    behavior.
    
    Can anyone explain why Tcl_CreateChannel does that?
    
    
  2. login: "dgp"
  3. mimetype: "text/plain"
  4. username: "dgp"