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/fs/gnunet-auto-share.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/fs/gnunet-auto-share.c')
-rw-r--r-- | src/fs/gnunet-auto-share.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fs/gnunet-auto-share.c b/src/fs/gnunet-auto-share.c index f7026554d..9e2f45d3e 100644 --- a/src/fs/gnunet-auto-share.c +++ b/src/fs/gnunet-auto-share.c | |||
@@ -488,7 +488,7 @@ work (void *cls, | |||
488 | _("Publishing `%s'\n"), | 488 | _("Publishing `%s'\n"), |
489 | wi->filename); | 489 | wi->filename); |
490 | publish_proc = GNUNET_OS_start_process_vap (GNUNET_YES, | 490 | publish_proc = GNUNET_OS_start_process_vap (GNUNET_YES, |
491 | NULL, NULL, | 491 | 0, NULL, NULL, |
492 | "gnunet-publish", | 492 | "gnunet-publish", |
493 | argv); | 493 | argv); |
494 | if (NULL == publish_proc) | 494 | if (NULL == publish_proc) |