diff options
-rw-r--r-- | agent/call-scd.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/agent/call-scd.c b/agent/call-scd.c index 6cd582546..65b5e7cfd 100644 --- a/agent/call-scd.c +++ b/agent/call-scd.c @@ -326,11 +326,12 @@ start_scd (ctrl_t ctrl) } no_close_list[i] = ASSUAN_INVALID_FD; - /* Connect to the pinentry and perform initial handshaking. Use - detached flag (128) so that under W32 SCDAEMON does not show up a + /* Connect to the scdaemon and perform initial handshaking. Use + detached flag so that under Windows SCDAEMON does not show up a new window. */ rc = assuan_pipe_connect (ctx, opt.scdaemon_program, argv, - no_close_list, atfork_cb, NULL, 128); + no_close_list, atfork_cb, NULL, + ASSUAN_PIPE_CONNECT_DETACHED); if (rc) { log_error ("can't connect to the SCdaemon: %s\n", |