2008-02-15 Marcus Brinkmann <marcus@g10code.de>
authorMarcus Brinkmann <mb@g10code.com>
Fri, 15 Feb 2008 22:57:52 +0000 (22:57 +0000)
committerMarcus Brinkmann <mb@g10code.com>
Fri, 15 Feb 2008 22:57:52 +0000 (22:57 +0000)
* exechelp.c (gnupg_spawn_process_fd): Add flag DETACHED_PROCESS
unconditionally (required for all callers at the moment).

common/ChangeLog
common/exechelp.c

index d509cd4..05f516f 100644 (file)
@@ -1,3 +1,8 @@
+2008-02-15  Marcus Brinkmann  <marcus@g10code.de>
+
+       * exechelp.c (gnupg_spawn_process_fd): Add flag DETACHED_PROCESS
+       unconditionally (required for all callers at the moment).
+
 2008-02-14  Werner Koch  <wk@g10code.com>
 
        * sysutils.c (gnupg_allow_set_foregound_window): New.
index 09f90ef..dcbbe90 100644 (file)
@@ -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. */