Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: c706758b11a95b030f57caf5e67e798ac3e61227
Ticket: 1958930fffffffffffffffffffffffffffffffff
exec with pipes and fileevents leaks ~2Mb everytime
User & Date: davygrvy on 2008-05-08 02:31:08
Changes

  1. icomment:
    Logged In: YES 
    user_id=7549
    Originator: NO
    
    Gotcha.  Yes, [open] mixes somewhat.  At the end of the process, you can get stderr though, but readables are on stdout.  You just can't intermix the reception of the two while the child is running.  There's an example on the wiki: http://wiki.tcl.tk/3846 , see [gotpipereadable] for getting stderr.
    
    There's also another technique using BLT's bgexec command.
    
    
  2. login: "davygrvy"
  3. mimetype: "text/plain"
  4. username: "davygrvy"