aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2017-12-11 12:54:22 +0000
committerWerner Koch <[email protected]>2017-12-11 12:54:40 +0000
commit0a567a94d94cd93c5d88f5db802925c95f0974d0 (patch)
treec2e7ed8a71c0ee6e3d996b4e00cdce1c43062da2 /src
parentSpelling fixes for comments and doc (diff)
downloadgpgme-0a567a94d94cd93c5d88f5db802925c95f0974d0.tar.gz
gpgme-0a567a94d94cd93c5d88f5db802925c95f0974d0.zip
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 <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/gpgme-w32spawn.c1
1 files changed, 0 insertions, 1 deletions
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 */