From d1e367b5bcff3b7c9db57fe7ce8f25ab45a6894b Mon Sep 17 00:00:00 2001 From: Matthias Wachs Date: Wed, 15 Sep 2010 08:28:48 +0000 Subject: [PATCH] 0001602: A patch to fix process spawning with redirected std streams --- src/transport/plugin_transport_wlan.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 2.25.1