Skip to content
Tcl Source Code Artifact [8d649e94bb]
Login

Artifact [8d649e94bb]

Artifact 8d649e94bb0f90853746d573984cf224bd62e0ea:

Ticket change [8d649e94bb] - Ticket [1958930fffffffff|1958930fff] <i>exec with pipes and fileevents leaks ~2Mb everytime</i> status still Open with 4 other changes by mgammon on 2008-05-07 19:10:20.
D 2008-05-07T19:10:20
J icomment Logged\sIn:\sYES\s\nuser_id=2080734\nOriginator:\sYES\n\nI\sthink\sthis\sis\show\sit\sworks\swith\sTclX\spipes.\nThe\s"pipe"\scommand\scalls\sthe\sWindows\sCreatePipe\sto\screate\sthe\spipe\sand\sget\sthe\stwo\shandles\sto\sit.\s\nIt\sthen\spasses\sthese\sto\sTcl_MakeFileChannel\sto\sget\sthem\swrapped\sup\sas\sa\snormal\stcl\schannel.\nThis\sin\sturn\scalls\sthe\sWindows\sGetFileType\swhich\stells\sit\sthat\sthe\shandles\sare\sactually\spipes\nand\snot\splain\sfile\shandles.\sAfter\sthis\sthey\sget\streated\slike\spipes\screated\sby\sthe\s"open"\scommand,\nand\sget\sprocessed\sby\sthe\stclWinPipe\scode.\nNot\s100%\ssure\sabout\sthe\sabove\sbut\sthat's\swhat\sI\sthink\sit\sis\sdoing.\n
J login mgammon
J mimetype text/plain
J username mgammon
K 1958930fffffffffffffffffffffffffffffffff
U mgammon
Z db84214abdd807781c4d59fd6969c6fb