From 0a567a94d94cd93c5d88f5db802925c95f0974d0 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Mon, 11 Dec 2017 13:54:22 +0100 Subject: [PATCH] core,w32: Fix popping up of console windows due to gpgconf. * src/gpgme-w32spawn.c (my_spawn): Create w/o DETACHED_PROCESS. -- The spawn helper is actually called with DETACHED_PROCESS and should not need to do a DETACHED_PROCESS of its own. Interestingly this patch removes the popups. See Andre's report GnuPG-bug-id: 3515 Signed-off-by: Werner Koch --- src/gpgme-w32spawn.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/gpgme-w32spawn.c b/src/gpgme-w32spawn.c index 003b9b03..d86c8508 100644 --- a/src/gpgme-w32spawn.c +++ b/src/gpgme-w32spawn.c @@ -205,7 +205,6 @@ my_spawn (char **argv, struct spawn_fd_item_s *fd_list, unsigned int flags) } cr_flags |= CREATE_SUSPENDED; - cr_flags |= DETACHED_PROCESS; if (!CreateProcessA (argv[0], arg_string, &sec_attr, /* process security attributes */