aboutsummaryrefslogtreecommitdiff
path: root/src/util/helper.c
diff options
context:
space:
mode:
authorLRN <lrn1986@gmail.com>2012-07-27 10:25:50 +0000
committerLRN <lrn1986@gmail.com>2012-07-27 10:25:50 +0000
commitaf76ae1dbfb86fe720ca9fe2be544f89ffbc476e (patch)
treea8faed750985d06d0a60bd82d489d2dbce16c1af /src/util/helper.c
parentfd6a2c706f26aa0d525f6eb1ca09bc1a0dc5e4d9 (diff)
downloadgnunet-af76ae1dbfb86fe720ca9fe2be544f89ffbc476e.tar.gz
gnunet-af76ae1dbfb86fe720ca9fe2be544f89ffbc476e.zip
Use pipe control for helper processes
This fixes testbed service leak in testbed tests. Either this, or NOT using helper API for testbed helper.
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 82b94aa2f..64b014994 100644
--- a/src/util/helper.c
+++ b/src/util/helper.c
@@ -341,7 +341,7 @@ start_helper (struct GNUNET_HELPER_Handle *h)
341 h->fh_to_helper = 341 h->fh_to_helper =
342 GNUNET_DISK_pipe_handle (h->helper_in, GNUNET_DISK_PIPE_END_WRITE); 342 GNUNET_DISK_pipe_handle (h->helper_in, GNUNET_DISK_PIPE_END_WRITE);
343 h->helper_proc = 343 h->helper_proc =
344 GNUNET_OS_start_process_vap (GNUNET_NO, GNUNET_OS_INHERIT_STD_ERR, 344 GNUNET_OS_start_process_vap (GNUNET_YES, GNUNET_OS_INHERIT_STD_ERR,
345 h->helper_in, h->helper_out, 345 h->helper_in, h->helper_out,
346 h->binary_name, 346 h->binary_name,
347 h->binary_argv); 347 h->binary_argv);