From 265abbb7b4b7f466b06f08dd6bbaa90a00f241e4 Mon Sep 17 00:00:00 2001 From: davygrvy Date: Wed, 4 Dec 2002 05:41:14 +0000 Subject: * win/tclWinPipe.c (PipeClose2Proc): Changed CTRL_C_EVENT to CTRL_BREAK_EVENT as it can't be ignored by the child. --- win/tclWinPipe.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/win/tclWinPipe.c b/win/tclWinPipe.c index 9de247c..2a9cfe7 100644 --- a/win/tclWinPipe.c +++ b/win/tclWinPipe.c @@ -9,7 +9,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclWinPipe.c,v 1.28 2002/12/04 03:59:17 davygrvy Exp $ + * RCS: @(#) $Id: tclWinPipe.c,v 1.29 2002/12/04 05:41:14 davygrvy Exp $ */ #include "tclWinInt.h" @@ -1861,7 +1861,7 @@ PipeClose2Proc( */ if (HasConsole() && pipePtr->numPids) { - GenerateConsoleCtrlEvent(CTRL_C_EVENT, + GenerateConsoleCtrlEvent(CTRL_BREAK_EVENT, TclpGetPid(pipePtr->pidPtr[0])); } -- cgit v0.12