aboutsummaryrefslogtreecommitdiffstats
path: root/common/exechelp.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--common/exechelp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/exechelp.c b/common/exechelp.c
index 09f90ef91..dcbbe90b0 100644
--- a/common/exechelp.c
+++ b/common/exechelp.c
@@ -562,7 +562,7 @@ gnupg_spawn_process_fd (const char *pgmname, const char *argv[],
TRUE, /* Inherit handles. */
(CREATE_DEFAULT_ERROR_MODE
| GetPriorityClass (GetCurrentProcess ())
- | CREATE_SUSPENDED),
+ | CREATE_SUSPENDED | DETACHED_PROCESS),
NULL, /* Environment. */
NULL, /* Use current drive/directory. */
&si, /* Startup information. */