diff options
author | Werner Koch <wk@gnupg.org> | 2008-01-27 15:43:52 +0100 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2008-01-27 15:43:52 +0100 |
commit | d84d5ea748b2df0fd2fbd26149e8901e7fdd4af5 (patch) | |
tree | 9cffdf61c2bab8fdc9bfcc17548b0327c50661de /common/exechelp.h | |
parent | Typo fixes. (diff) | |
download | gnupg2-d84d5ea748b2df0fd2fbd26149e8901e7fdd4af5.tar.xz gnupg2-d84d5ea748b2df0fd2fbd26149e8901e7fdd4af5.zip |
[W32] Avoid extra console window when importing or exporting.
Fixes bug 875.
Diffstat (limited to 'common/exechelp.h')
-rw-r--r-- | common/exechelp.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/common/exechelp.h b/common/exechelp.h index 5dd7df4cf..0ad956f7a 100644 --- a/common/exechelp.h +++ b/common/exechelp.h @@ -30,13 +30,14 @@ gpg_error_t gnupg_create_inbound_pipe (int filedes[2]); stdin, write the output to OUTFILE, return a new stream in STATUSFILE for stderr and the pid of the process in PID. The arguments for the process are expected in the NULL terminated array - ARGV. The program name itself should not be included there. if + ARGV. The program name itself should not be included there. If PREEXEC is not NULL, that function will be called right before the - exec. Calling gnupg_wait_process is required. Returns 0 on + exec. FLAGS is currently only useful for W32, see the source for + details. Calling gnupg_wait_process is required. Returns 0 on success or an error code. */ gpg_error_t gnupg_spawn_process (const char *pgmname, const char *argv[], FILE *infile, FILE *outfile, - void (*preexec)(void), + void (*preexec)(void), unsigned int flags, FILE **statusfile, pid_t *pid); |