diff options
author | Werner Koch <[email protected]> | 2017-12-11 12:54:22 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2017-12-11 12:54:40 +0000 |
commit | 0a567a94d94cd93c5d88f5db802925c95f0974d0 (patch) | |
tree | c2e7ed8a71c0ee6e3d996b4e00cdce1c43062da2 | |
parent | Spelling fixes for comments and doc (diff) | |
download | gpgme-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]>
-rw-r--r-- | src/gpgme-w32spawn.c | 1 |
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 */ |