Skip to content
Tcl Source Code Artifact [261dae79e3]
Login

Artifact [261dae79e3]

Artifact 261dae79e30d245d5899c48603a55291ed672c82:

Ticket change [261dae79e3] - 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:14.
D 2008-04-07T13:30:14
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 b1138c45f63807c8317421eb523aeadd