summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMarcus Brinkmann <mb@g10code.com>2009-12-08 12:29:02 +0000
committerMarcus Brinkmann <mb@g10code.com>2009-12-08 12:29:02 +0000
commitb4f82b8f1920c084f5321ed558c1b14aebb96254 (patch)
treec8f24c2f1b293c7f728aaf8b45395b786474b2fd /doc
parent8af605b30d92e39b04652723d7f72e13a9562dbb (diff)
downloadlibassuan-b4f82b8f1920c084f5321ed558c1b14aebb96254.tar.gz
doc/
2009-12-08 Marcus Brinkmann <marcus@g10code.de> * assuan.texi (Contexts): Document ASSUAN_SPAWN_DETACHED. src/ 2009-12-08 Marcus Brinkmann <marcus@g10code.de> * assuan.h (ASSUAN_SPAWN_DETACHED): New macro. * assuan-pipe-connect.c (pipe_connect): Calculate spawn_flags from flags.
Diffstat (limited to 'doc')
-rw-r--r--doc/ChangeLog4
-rw-r--r--doc/assuan.texi10
2 files changed, 14 insertions, 0 deletions
diff --git a/doc/ChangeLog b/doc/ChangeLog
index c647072..1d635ba 100644
--- a/doc/ChangeLog
+++ b/doc/ChangeLog
@@ -1,3 +1,7 @@
+2009-12-08 Marcus Brinkmann <marcus@g10code.de>
+
+ * assuan.texi (Contexts): Document ASSUAN_SPAWN_DETACHED.
+
2009-11-25 Marcus Brinkmann <marcus@g10code.de>
* assuan.texi (Data Types): Document assuan_fdopen.
diff --git a/doc/assuan.texi b/doc/assuan.texi
index 914ffd9..b029d1f 100644
--- a/doc/assuan.texi
+++ b/doc/assuan.texi
@@ -913,6 +913,16 @@ case the process should just fork but not call @code{exec}. In this
case, @code{*argv} should be set to @code{"client"} in the parent
process and @code{"server"} in the child process.
+Flags is the bit-wise OR of some (or none) of the following flags:
+
+@table @code
+@item ASSUAN_SPAWN_DETACHED
+If set and there is a need to start the server it will be started as a
+background process. This flag is useful under W32 systems, so that no
+new console is created and pops up a console window when starting the
+server.
+@end table
+
@item pid_t (*waitpid) (assuan_context_t ctx, pid_t pid, int action, int *status, int options)
This is the function called by @sc{Assuan} to wait for the spawned
child process @var{pid} to exit, or, if @var{action} is 1, to just