Skip to content
Tcl Source Code Check-in [435e6257fb]
Login

Check-in [435e6257fb]

Overview
Comment:* 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.
Timelines: family | ancestors | descendants | both | core-8-4-branch
Files: files | file ages | folders
SHA1: 435e6257fb028448b70ca680a3a63b11c1553c75
User & Date: davygrvy on 2005-04-19 16:28:22.000
Other Links: branch diff | manifest | tags
Context
2005-04-19
16:31
no message check-in: 2920872277 user: davygrvy tags: core-8-4-branch
16:28
* win/tclWinPipe.c: The pipe channel driver now respects the -blocking option when closing. The wi... check-in: 435e6257fb user: davygrvy tags: core-8-4-branch
2005-04-14
07:09
* generic/tclIO.c (Tcl_SetChannelBufferSize): Lowest size limit * tests/io.test: changed from ten b... check-in: 74c27f43eb user: davygrvy tags: core-8-4-branch
Changes