<i>exec hangs, iff stdin & stdout both were previously closed.</i> status still Open with 4 other changes
by
.
D 2026-10-13T18:34:38.166
J foundin 8.6.18,\s9.0.5,\s9.1.0
J icomment Still\shangs\swith\s8.6.17,\s9.0\sand\s9.1.\sWith\sstdin\sand\sstdout\sclosed,\sthe\spipe\nfor\sthe\soutput\sof\sthe\schild\sgets\sdescriptors\s0\sand\s1,\sand\n<code>TclpCloseFile()</code>\snever\scloses\s0,\s1\sand\s2,\sso\sthe\sparent\skeeps\sthe\nwrite\send\sopen\sand\snever\ssees\sthe\send\sof\sthe\soutput.\n\nProposed\sfix\sin\sbranch\s[/timeline?r=exec-closed-stdio|exec-closed-stdio]:\nmove\spipes\sand\sfiles\screated\sfor\sa\spipeline\sabove\sdescriptor\s2.\sTest\nexec-23.1.
J login serhiy.storchaka
J mimetype text/x-fossil-wiki
K 21dbc600ae0a005a7f879a05580550a8da257b14
U serhiy.storchaka
Z 8fa2d7a8cf112e93cd0bac673daae83c