Artifact 243020af95da1d0f7ac8218138d1503e11b0c17b:
- File win/tclWinPipe.c — part of check-in [9e7de7ab45] at 2002-12-04 03:59:16 on branch trunk — * 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() % (user: davygrvy size: 80394)
A hex dump of this file is not available. Please download the raw binary file and generate a hex dump yourself.