Skip to content
Tcl Source Code Artifact [2522d39768]
Login

Artifact [2522d39768]

Artifact 2522d397682fc22e829f9ad41dee957aa8937d0f:

Ticket change [2522d39768] - New ticket [05382a5317cf9381|05382a5317] <i>extra pipes opened with exec</i>. by anonymous on 2015-12-09 13:46:25.
D 2015-12-09T13:46:25.841
J assignee nobody
J closer nobody
J cmimetype text/plain
J comment #!/usr/bin/tclsh\r\n\r\nif\s{$::argv\s>\s0}\s{\r\n\s\sincr\s::argv\s-1\r\n\s\sexec\s$::argv0\s$::argv\s&\r\n\s\sexit\s0\r\n}\r\n\r\nvwait\sforever\r\n\r\n--\ssnip\s--\r\n\r\nrun\sthe\ssnippet\sas\s'foo.tcl\s<number>'\sthen\scheck\sthe\sopen\sfds\swith\s'ls\s-l\s/proc/<pid>/fd/'\r\n\r\nargv\s=\s1\sgives\s4\spipes\r\nargv\s=\s5\sgives\s12\spipes\r\netc\r\n\r\nbug\sis\spresent\son\stcl\s8.5.9\r\nbug\sis\s(apparently)\snot\spresent\son\stcl\s8.6.1.\salways\s2\spipes,\sregardless\sof\siterations
J foundin 8.5.9
J is_private 0
J login anonymous
J priority 5\sMedium
J private_contact 44ba02fc039aa6cb02c1613d32e7aa17028afca7
J resolution None
J severity Important
J status Open
J submitter anonymous
J subsystem 16.\sCommands\sA-H
J title extra\spipes\sopened\swith\sexec
J type Bug
K 05382a5317cf938117548b5b76fc9ed5a003b25d
U anonymous
Z 218fa0110a00d214646af45b5af1aced