Overview
| Artifact ID: | 8d649e94bb0f90853746d573984cf224bd62e0ea |
|---|---|
| Ticket: | 1958930fffffffffffffffffffffffffffffffff
exec with pipes and fileevents leaks ~2Mb everytime |
| User & Date: | mgammon on 2008-05-07 19:10:20 |
Changes
- icomment:
Logged In: YES user_id=2080734 Originator: YES I think this is how it works with TclX pipes. The "pipe" command calls the Windows CreatePipe to create the pipe and get the two handles to it. It then passes these to Tcl_MakeFileChannel to get them wrapped up as a normal tcl channel. This in turn calls the Windows GetFileType which tells it that the handles are actually pipes and not plain file handles. After this they get treated like pipes created by the "open" command, and get processed by the tclWinPipe code. Not 100% sure about the above but that's what I think it is doing.
- login: "mgammon"
- mimetype: "text/plain"
- username: "mgammon"