From 9811f28b0f5c5c1a6ed06479ae9d5a17766e4232 Mon Sep 17 00:00:00 2001 From: Matthias Wachs Date: Wed, 15 Sep 2010 08:27:19 +0000 Subject: [PATCH] 0001602: A patch to fix process spawning with redirected std streams --- src/include/gnunet_disk_lib.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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); /** -- 2.25.1