mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-18 09:26:17 +00:00
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@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
d61c9998d9
commit
ff7ff4d0b4
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue