summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixFCmd.c
diff options
context:
space:
mode:
authordavygrvy@pobox.com <davygrvy>2005-04-19 16:28:22 (GMT)
committerdavygrvy@pobox.com <davygrvy>2005-04-19 16:28:22 (GMT)
commit26878d289b358d7a4b5765e85e376a55d4736540 (patch)
tree26209da071fe74735cc8b3ec35ad52bb1c9cb722 /unix/tclUnixFCmd.c
parent43468fbae75dd3177c09bf9a076445fe7babf7e9 (diff)
downloadtcl-26878d289b358d7a4b5765e85e376a55d4736540.zip
tcl-26878d289b358d7a4b5765e85e376a55d4736540.tar.gz
tcl-26878d289b358d7a4b5765e85e376a55d4736540.tar.bz2
* win/tclWinPipe.c: The pipe channel driver now respects
the -blocking option when closing. The windows pipe driver now has the same behavior as the UNIX side. This change is to avoid a hung shell when exiting due to open pipes that refuse to close in a graceful manner. * doc/open.n: Added a note about -blocking 0 and lack of exit status as it had never been documented. [Bug 947693] ***POTENTIAL INCOMPATIBILITY*** Scripts that use async pipes on windows, must (like the UNIX side) set -blocking to 1 before calling [close] to receive the exit status. * tests/winPipe.test (winpipe-6.1/2): added 'fconfigure $f -blocking 1' so the exit status can be acquired.
Diffstat (limited to 'unix/tclUnixFCmd.c')
0 files changed, 0 insertions, 0 deletions