<i>exec implemenation fails to close() open file descriptors</i> status still Closed with 4 other changes
by
.
D 2006-01-10T05:03:12
J icomment Logged\sIn:\sYES\s\nuser_id=426773\n\n\nOK,\sI\sthink\sI\sknow\swhy\sthe\sconfusion\sexists.\sThe\sproblem\narises\s(in\smy\scase)\sbecause\sa\s3rd\sparty\sshared\slibrary\sopens\nthe\sFDs\s(not\sTCL)\sbut\sbecause\sTCL\sdoes\snot\simplement\nfork()/exec()\sjust\s'exec'\sthere\sis\sno\swhere\sI\scan\sinsert\ncode\sto\sclose\sall\sthe\sshared\slibrary\sopen()ed\sFDs.\sSo\sthis\nleads\sto\sthem\sbeing\sinherited\sby\sthe\schild\sprocess,\swhich\nwill\smost\slikely\signore\sthem,\sbut\simportantly\sit\skeeps\sthem\nopen\swhich\sleads\sto\sall\ssort\sof\sissues\sas\stime\sprogresses.\s\n\nRegards,\nPeter\sBray\n\nPS:\sI\sour\scase\sthe\sshared\slibrary\sis\sprovided\sby\sa\svendor,\nnot\swritten\slocally\s(ie\sno\ssource\scode),\sso\swe\scan't\sadd\nclose\son\sexec\soptions\sto\sthe\ssocket\sopen\scalls.\n
J login illumino
J mimetype text/plain
J username illumino
K 1343211fffffffffffffffffffffffffffffffff
U illumino
Z 858aa6d9fad263c7212d7b3316a7abb7