From ee8a681ace4589fc7b0069ec5e604a3a90a66a12 Mon Sep 17 00:00:00 2001 From: Igor Zinkovsky Date: Thu, 3 Nov 2011 13:59:56 -0700 Subject: [PATCH] windows: uv_kill and uv_process_kill to terminate the process on SIGINT --- src/win/process.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/win/process.c b/src/win/process.c index 195db5014..d433117f6 100644 --- a/src/win/process.c +++ b/src/win/process.c @@ -1059,7 +1059,7 @@ static uv_err_t uv__kill(HANDLE process_handle, int signum) { DWORD status; uv_err_t err; - if (signum == SIGTERM || signum == SIGKILL) { + if (signum == SIGTERM || signum == SIGKILL || signum == SIGINT) { /* Kill the process. On Windows, killed processes normally return 1. */ if (TerminateProcess(process_handle, 1)) { err = uv_ok_;