aboutsummaryrefslogtreecommitdiff
path: root/src/util/helper.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-07-09 19:04:19 +0000
committerChristian Grothoff <christian@grothoff.org>2012-07-09 19:04:19 +0000
commit8f9464256fc06a884bf589b4004262a0549d11b3 (patch)
treea088b8acbebdefe2acf0b41cfed4418830275b78 /src/util/helper.c
parent817ee37a75fb8eb5887023d1a5152cb528ee2d5a (diff)
downloadgnunet-8f9464256fc06a884bf589b4004262a0549d11b3.tar.gz
gnunet-8f9464256fc06a884bf589b4004262a0549d11b3.zip
-LRN: Another take on std descriptor inheritance
Now descriptors are not inherited by default, you have to pass a set of flags to make it so. When pipes are given, flags have no effect. gnunet-arm now has two options to block stdout and stderr from being passed to gnunet-service-arm
Diffstat (limited to 'src/util/helper.c')
-rw-r--r--src/util/helper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/helper.c b/src/util/helper.c
index 6a84ff3ef..64f082bee 100644
--- a/src/util/helper.c
+++ b/src/util/helper.c
@@ -314,7 +314,7 @@ start_helper (struct GNUNET_HELPER_Handle *h)
314 h->fh_to_helper = 314 h->fh_to_helper =
315 GNUNET_DISK_pipe_handle (h->helper_in, GNUNET_DISK_PIPE_END_WRITE); 315 GNUNET_DISK_pipe_handle (h->helper_in, GNUNET_DISK_PIPE_END_WRITE);
316 h->helper_proc = 316 h->helper_proc =
317 GNUNET_OS_start_process_vap (GNUNET_NO, 317 GNUNET_OS_start_process_vap (GNUNET_NO, 0,
318 h->helper_in, h->helper_out, 318 h->helper_in, h->helper_out,
319 h->binary_name, 319 h->binary_name,
320 h->binary_argv); 320 h->binary_argv);