Overview
| Comment: | * win/tclAppInit.c (sigHandler): Protect from trying to close a NULL handle. * win/tclWinPipe.c (PipeClose2Proc, TclpCreateProcess): Send a real Win32 signal (CTRL_C_EVENT) when the read channel is brought down to alert the child to close on its side. Start the process with CREATE_NEW_PROCESS_GROUP to allow the ability to send these signals. The following test case now brings down the child without the use of an external [kill] command. % set p [open "|[info name]" w+] file8d5380 % pid $p 2876 % close $p <- now doesn't block in Tcl_WaitPid() % |
|---|---|
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
9e7de7ab45376b32862af68824a2a7ee |
| User & Date: | davygrvy on 2002-12-04 03:59:16.000 |
| Other Links: | manifest | tags |
Context
|
2002-12-04
| ||
| 05:41 | * win/tclWinPipe.c (PipeClose2Proc): Changed CTRL_C_EVENT to CTRL_BREAK_EVENT as it can't be igno... check-in: 862a888d0e user: davygrvy tags: trunk | |
| 03:59 | * win/tclAppInit.c (sigHandler): Protect from trying to close a NULL handle. * win/tclWinPipe.c... check-in: 9e7de7ab45 user: davygrvy tags: trunk | |
|
2002-11-27
| ||
| 22:57 | * win/tclWinChan.c (Tcl_MakeFileChannel): return of DuplicateHandle() incorrectly used [Bug 61885... check-in: 16b1bc73b2 user: davygrvy tags: trunk | |
Changes
Modified ChangeLog
from [61e0e20c57]
to [378c6fb0ca].
[diff]
Modified win/tclAppInit.c
from [7b0ebb2d35]
to [65707392b7].
[diff]
Modified win/tclWinPipe.c
from [7fdc90ee2f]
to [243020af95].
[diff]