mirror of
git://git.gnupg.org/gnupg.git
synced 2025-03-25 22:19:59 +01:00
common,w32: Fix use of GNUPG_SPAWN_KEEP_STDERR.
* common/exechelp-w32.c (gnupg_spawn_process): Fix macro. -- Fixes-commit: 7ba44d15ca2f800c402a56eb71bb524f91ea2ffa GnuPG-bug-id: 6961
This commit is contained in:
parent
ccd201d7db
commit
535c5cf769
@ -550,7 +550,7 @@ gnupg_spawn_process (const char *pgmname, const char *argv[],
|
||||
nullhd[1] = ((flags & GNUPG_SPAWN_KEEP_STDOUT)?
|
||||
GetStdHandle (STD_OUTPUT_HANDLE) : w32_open_null (1));
|
||||
if (errpipe[1] == INVALID_HANDLE_VALUE)
|
||||
nullhd[2] = ((flags & GNUPG_SPAWN_KEEP_STDOUT)?
|
||||
nullhd[2] = ((flags & GNUPG_SPAWN_KEEP_STDERR)?
|
||||
GetStdHandle (STD_ERROR_HANDLE) : w32_open_null (1));
|
||||
|
||||
/* Start the process. Note that we can't run the PREEXEC function
|
||||
|
Loading…
x
Reference in New Issue
Block a user