diff options
author | Marcus Brinkmann <[email protected]> | 2009-11-05 02:39:31 +0000 |
---|---|---|
committer | Marcus Brinkmann <[email protected]> | 2009-11-05 02:39:31 +0000 |
commit | 59dc98545a2cbd2a6d057b3ec7fe25ebff25f8a4 (patch) | |
tree | ed2281c4be062cf971948a9d154e7bbcf4dd3e4d /src/priv-io.h | |
parent | 2009-11-05 Marcus Brinkmann <[email protected]> (diff) | |
download | gpgme-59dc98545a2cbd2a6d057b3ec7fe25ebff25f8a4.tar.gz gpgme-59dc98545a2cbd2a6d057b3ec7fe25ebff25f8a4.zip |
2009-11-05 Marcus Brinkmann <[email protected]>
* priv-io.h (IOSPAWN_FLAG_NOCLOSE): New flag.
* w32-io.c (_gpgme_io_spawn): Implement this flag.
* posix-io.c (_gpgme_io_spawn): Likewise.
* w32-glib-io.c (_gpgme_io_spawn): Likewise.
* assuan-support.c (my_spawn): Set this flag.
Diffstat (limited to 'src/priv-io.h')
-rw-r--r-- | src/priv-io.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/priv-io.h b/src/priv-io.h index 4eb2e362..a9fb02ae 100644 --- a/src/priv-io.h +++ b/src/priv-io.h @@ -68,6 +68,8 @@ int _gpgme_io_set_nonblocking (int fd); /* A flag to tell the spawn function to allow the child process to set the foreground window. */ #define IOSPAWN_FLAG_ALLOW_SET_FG 1 +/* Don't close any child FDs. */ +#define IOSPAWN_FLAG_NOCLOSE 2 /* Spawn the executable PATH with ARGV as arguments. After forking close all fds except for those in FD_LIST in the child, then |