Skip to content
Tcl Source Code Artifact [0006c77edc]
Login

Artifact [0006c77edc]

Artifact 0006c77edc443c248f226056a86f309640101189de5a5650a67fbfaef1922c7c:

Ticket change [0006c77edc] - Closed ticket [e8efa378a96bca5e|e8efa378a9]: <i>Duplicate std* channels in different Threads</i> plus 4 other changes by serhiy.storchaka on 2026-10-14 18:14:04.
D 2026-10-14T18:14:04.579
J icomment The\sfirst\spart\sis\sthe\sdocumented\sbehavior.\sIn\swish\son\sWindows\sa\snew\sthread\shas\sno\sstandard\schannels,\sand\sas\sdescribed\sin\sTcl_StandardChannels(3),\s"the\sfirst\sthree\sTcl\schannels\sthen\sopened\sby\sthe\sapplication\sare\sdesignated\sas\sthe\sTcl\sstandard\schannels";\sa\sstandard\schannel\scannot\sbe\stransferred.\sOn\sLinux,\sand\sin\stclsh\son\sWindows\s(as\syou\swrote),\sthe\snew\sthread\sgets\sits\sown\sstdin,\sstdout\sand\sstderr.\n\nThe\ssecond\spart\sis\sexpected\stoo:\sthe\sstandard\schannels\sof\sall\sthreads\srefer\sto\sthe\ssame\sstandard\shandles\sof\sthe\sprocess,\sso\sclosing\sstdout\sin\sone\sthread\scloses\sthe\sprocess's\sstandard\soutput,\sjust\sas\sclosing\sstdout\sdoes\sin\sa\ssingle-threaded\sprogram.
J login serhiy.storchaka
J mimetype text/x-fossil-wiki
J resolution Invalid
J status Closed
K e8efa378a96bca5e69e00e5feff1315c932ed47b
U serhiy.storchaka
Z 2338fa7aa0e574c3fa965bbc5e8615c2