Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: d5e299e10d2ed73535e7c53a09567af424aca971
Ticket: 1958930fffffffffffffffffffffffffffffffff
exec with pipes and fileevents leaks ~2Mb everytime
User & Date: mgammon on 2008-05-08 01:34:29
Changes

  1. icomment:
    Logged In: YES 
    user_id=2080734
    Originator: YES
    
    David,
    It's been a long time since we coded it up to use "exec" and pipes, but I think the reason why we couldn't use "open" was that we needed to read from both stdout AND stderr separately. Am I right in thinking that the r+ arg to "open" returns a bi-directional channel that when written goes to stdin of the child and when read it gets stdout from the child. There is no way to get access to the stderr output from the child?
    
    
  2. login: "mgammon"
  3. mimetype: "text/plain"
  4. username: "mgammon"