From: Matthias Wachs Date: Wed, 15 Sep 2010 08:27:19 +0000 (+0000) Subject: 0001602: A patch to fix process spawning with redirected std streams X-Git-Tag: initial-import-from-subversion-38251~20334 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=9811f28b0f5c5c1a6ed06479ae9d5a17766e4232;p=oweals%2Fgnunet.git 0001602: A patch to fix process spawning with redirected std streams --- diff --git a/src/include/gnunet_disk_lib.h b/src/include/gnunet_disk_lib.h index 340c35a4e..b8df9d7b6 100644 --- a/src/include/gnunet_disk_lib.h +++ b/src/include/gnunet_disk_lib.h @@ -326,9 +326,13 @@ struct GNUNET_DISK_FileHandle *GNUNET_DISK_file_open (const char *fn, /** * Creates an interprocess channel * @param blocking creates an asynchronous pipe if set to GNUNET_NO + * @param inherit_read 1 to make read handle inheritable, 0 otherwise (NT only) + * @param inherit_write 1 to make write handle inheritable, 0 otherwise (NT only) * @return handle to the new pipe, NULL on error */ -struct GNUNET_DISK_PipeHandle *GNUNET_DISK_pipe (int blocking); +struct GNUNET_DISK_PipeHandle *GNUNET_DISK_pipe (int blocking, + int inherit_read, + int inherit_write); /**