Skip to content
Tcl Source Code Check-in [9e7de7ab45]
Login

Check-in [9e7de7ab45]

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: 9e7de7ab45376b32862af68824a2a7eeef92c693
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