Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 53b9c16df78263a5e94a91824c4671b26cea956e
Ticket: 1343211fffffffffffffffffffffffffffffffff
exec implemenation fails to close() open file descriptors
User & Date: dkf on 2006-01-10 05:16:29
Changes

  1. icomment:
    Logged In: YES 
    user_id=79902
    
    Tcl does fork/exec; the code is all in tclUnixPipe.c in the
    function TclpCreateProcess() and that's the only spot in the
    core that does that sequence. Moreover, I've run subprograms
    following all sorts of different kinds of file-descriptor
    creation (both [open] and [socket]) and no FD ever
    transferred to the child (except for the FDs that were
    supposed to be for stdin/out/err).
    
    If instead you're talking about the naked exec that you find
    in an extension like TclX, that's a completely different
    thing (and nothing to do with the core!)
    
    
  2. login: "dkf"
  3. mimetype: "text/plain"
  4. username: "dkf"