From: Matthias Wachs Date: Wed, 15 Sep 2010 08:28:48 +0000 (+0000) Subject: 0001602: A patch to fix process spawning with redirected std streams X-Git-Tag: initial-import-from-subversion-38251~20332 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=d1e367b5bcff3b7c9db57fe7ce8f25ab45a6894b;p=oweals%2Fgnunet.git 0001602: A patch to fix process spawning with redirected std streams --- diff --git a/src/transport/plugin_transport_wlan.c b/src/transport/plugin_transport_wlan.c index a7d40982b..0d7f476aa 100644 --- a/src/transport/plugin_transport_wlan.c +++ b/src/transport/plugin_transport_wlan.c @@ -433,11 +433,11 @@ static int wlan_transport_start_wlan_helper(struct Plugin *plugin) { - plugin->server_stdout = GNUNET_DISK_pipe(GNUNET_YES); + plugin->server_stdout = (GNUNET_YES, GNUNET_NO, GNUNET_YES); if (plugin->server_stdout == NULL) return GNUNET_SYSERR; - plugin->server_stdin = GNUNET_DISK_pipe(GNUNET_YES); + plugin->server_stdin = GNUNET_DISK_pipe(GNUNET_YES, GNUNET_YES, GNUNET_NO); if (plugin->server_stdin == NULL) return GNUNET_SYSERR;