Skip to content
Tcl Source Code Artifact [c6f3b26c02]
Login

Artifact [c6f3b26c02]

Artifact c6f3b26c02515bd9dcdf750bbaa0e052f73b7bfecaae596d004e2f1a0487e249:

Manifest of check-in [c6f3b26c02] - Fix [21dbc600ae]: [exec] hung if stdin and stdout were closed: its pipe got descriptors 0 and 1, which TclpCloseFile() never closes, so the parent kept the write end open. Move descriptors created for a pipeline above 2. by serhiy.storchaka on 2026-10-13 18:33:34.
B 9a3e24fe8a62c7dbeb54d08cf64f51e344014c0866c43dfa8f124a0ad5eb5125
C Fix\s[21dbc600ae]:\s[exec]\shung\sif\sstdin\sand\sstdout\swere\sclosed:\sits\spipe\sgot\sdescriptors\s0\sand\s1,\swhich\sTclpCloseFile()\snever\scloses,\sso\sthe\sparent\skept\sthe\swrite\send\sopen.\sMove\sdescriptors\screated\sfor\sa\spipeline\sabove\s2.
D 2026-10-13T18:33:34.916
F tests/exec.test b530f381f4ed8d1c352a7042ffd8af781ad1fd6a683f8989036ff021cd01578e
F unix/tclUnixPipe.c 01e52a972d7619ace42696a99b4dbe2ed63832c34d1eb9a167513c330ff740af
P 9a3e24fe8a62c7dbeb54d08cf64f51e344014c0866c43dfa8f124a0ad5eb5125
R fc1b8ae0c8ea6525b8e10f593ad57369
T *branch * exec-closed-stdio
T *sym-exec-closed-stdio *
T -sym-main *
T -sym-trunk *
U serhiy.storchaka
Z 30d958894bcf68b35a6b7a6c016378ac