Skip to content
Tcl Source Code Artifact [df932cb7fc]
Login

Artifact [df932cb7fc]

Artifact df932cb7fc2715209e55d03529365721e1a92750:

Ticket change [df932cb7fc] - Ticket [1343161fffffffff|1343161fff] <i>exec implemenation fails to close() open file descriptors</i> status still Open with 4 other changes by ferrieux on 2008-04-07 13:30:11.
D 2008-04-07T13:30:11
J icomment Logged\sIn:\sYES\s\nuser_id=496139\nOriginator:\sNO\n\nOK\sI\sget\sit\snow.\sWhy\sdidn't\syou\ssay\searlier\sthat\syour\sinherited\sdescriptors\swere\screated\sinside\san\sextension\s?\s(Maybe\syou\sdid,\ssorry\sfor\snot\scombing\sthe\shaystack\s;-).\n\nNow,\sI\sagree\sthis\sis\sat\s*most*\sa\sfeature\srequest,\sbut\sI'll\seven\stry\sto\srequalify\sthis\sas\s"out\sof\sTcl's\srealm".\nIndeed,\sany\sother\sshell\sor\senvironment\sable\sto\s(1)\sload\sthat\slibrary\sand\s(2)\sspawn\sa\schild\swill\shave\sthe\svery\ssame\sproblem.\nMoreover,\sI\sthink\sit\sis\srelatively\seasy\sto\swork\saround\sthat\svendor\sbug,\se.g.\sin\sBourne\sshell,\sprovided\syou\shave\san\sidea\son\sthe\srange\sof\sfile\sdescriptors\sto\sclose\s*and*\sthey\sare\ssmaller\sthan\s10:\n\n\s\s\s\s\s\s\sset\sf\s[open\s"|sh\s-c\s{exec\s3>&-\s4>&-\s...\s9>&-;exec\smycommand\smyargs}\s2>@\sstderr"\sr+]\n\nPlease\stell\sme\sif\syou\sneed\sadditional\shelp\sto\smake\sthis\swork.\nOtherwise,\sdo\syou\sagree\swe\smay\srightfully\sclose\sthe\sentry\sas\s"works\sfor\sme"\s?\n\n\n
J login ferrieux
J mimetype text/plain
J username ferrieux
K 1343161fffffffffffffffffffffffffffffffff
U ferrieux
Z a459a59b1b507553a9f18e917bf98760