Eric Pouech : start: Ignore Ctrl-C and let the child decides what to do with it.

Alexandre Julliard julliard at winehq.org
Wed Dec 15 14:25:58 CST 2021


Module: wine
Branch: master
Commit: ff7ff4d0b4deb40b4580fafca15bf3bbd0bf58d6
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=ff7ff4d0b4deb40b4580fafca15bf3bbd0bf58d6

Author: Eric Pouech <eric.pouech at gmail.com>
Date:   Wed Dec 15 16:52:46 2021 +0100

start: Ignore Ctrl-C and let the child decides what to do with it.

Based on a patch from Bernhard Übelacker

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=51766
Signed-off-by: Eric Pouech <eric.pouech at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 programs/start/start.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/programs/start/start.c b/programs/start/start.c
index e78968e2052..dcd0a113f59 100644
--- a/programs/start/start.c
+++ b/programs/start/start.c
@@ -676,6 +676,7 @@ done:
 
 	if (sei.fMask & SEE_MASK_NOCLOSEPROCESS) {
 		DWORD exitcode;
+		SetConsoleCtrlHandler(NULL, TRUE);
 		WaitForSingleObject(sei.hProcess, INFINITE);
 		GetExitCodeProcess(sei.hProcess, &exitcode);
 		ExitProcess(exitcode);




More information about the wine-cvs mailing list