From: LRN Date: Fri, 27 Jul 2012 10:25:50 +0000 (+0000) Subject: Use pipe control for helper processes X-Git-Tag: initial-import-from-subversion-38251~12309 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=af76ae1dbfb86fe720ca9fe2be544f89ffbc476e;p=oweals%2Fgnunet.git Use pipe control for helper processes This fixes testbed service leak in testbed tests. Either this, or NOT using helper API for testbed helper. --- 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) h->fh_to_helper = GNUNET_DISK_pipe_handle (h->helper_in, GNUNET_DISK_PIPE_END_WRITE); h->helper_proc = - GNUNET_OS_start_process_vap (GNUNET_NO, GNUNET_OS_INHERIT_STD_ERR, + GNUNET_OS_start_process_vap (GNUNET_YES, GNUNET_OS_INHERIT_STD_ERR, h->helper_in, h->helper_out, h->binary_name, h->binary_argv);