0001602: A patch to fix process spawning with redirected std streams
authorMatthias Wachs <wachs@net.in.tum.de>
Wed, 15 Sep 2010 08:28:48 +0000 (08:28 +0000)
committerMatthias Wachs <wachs@net.in.tum.de>
Wed, 15 Sep 2010 08:28:48 +0000 (08:28 +0000)
src/transport/plugin_transport_wlan.c

index a7d40982bbf7843f5442686f8d7ec576a4acbce4..0d7f476aa68a43e4c622563b793f6b895c85dd3d 100644 (file)
@@ -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;