diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-07-09 19:04:19 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-07-09 19:04:19 +0000 |
commit | 8f9464256fc06a884bf589b4004262a0549d11b3 (patch) | |
tree | a088b8acbebdefe2acf0b41cfed4418830275b78 /src/transport/gnunet-transport.c | |
parent | 817ee37a75fb8eb5887023d1a5152cb528ee2d5a (diff) | |
download | gnunet-8f9464256fc06a884bf589b4004262a0549d11b3.tar.gz gnunet-8f9464256fc06a884bf589b4004262a0549d11b3.zip |
-LRN: Another take on std descriptor inheritance
Now descriptors are not inherited by default, you have to pass
a set of flags to make it so. When pipes are given, flags have
no effect.
gnunet-arm now has two options to block stdout and stderr from being
passed to gnunet-service-arm
Diffstat (limited to 'src/transport/gnunet-transport.c')
-rw-r--r-- | src/transport/gnunet-transport.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/transport/gnunet-transport.c b/src/transport/gnunet-transport.c index 42b7f6062..36c02014e 100644 --- a/src/transport/gnunet-transport.c +++ b/src/transport/gnunet-transport.c | |||
@@ -284,7 +284,7 @@ do_test_configuration (const struct GNUNET_CONFIGURATION_Handle *cfg) | |||
284 | adv_port = bnd_port; | 284 | adv_port = bnd_port; |
285 | if (NULL == resolver) | 285 | if (NULL == resolver) |
286 | resolver = | 286 | resolver = |
287 | GNUNET_OS_start_process (GNUNET_YES, NULL, NULL, "gnunet-service-resolver", | 287 | GNUNET_OS_start_process (GNUNET_YES, GNUNET_OS_INHERIT_STD_OUT_AND_ERR, NULL, NULL, "gnunet-service-resolver", |
288 | "gnunet-service-resolver", NULL); | 288 | "gnunet-service-resolver", NULL); |
289 | resolver_users++; | 289 | resolver_users++; |
290 | GNUNET_RESOLVER_connect (cfg); | 290 | GNUNET_RESOLVER_connect (cfg); |