diff options
author | Sree Harsha Totakura <totakura@in.tum.de> | 2014-02-20 10:35:33 +0000 |
---|---|---|
committer | Sree Harsha Totakura <totakura@in.tum.de> | 2014-02-20 10:35:33 +0000 |
commit | 2a35e345a204cb357361406f28e07bf9076cb092 (patch) | |
tree | 8c51b5dae07a1f3a3a6a13ac6c623e0b0df2a070 /src/statistics/test_statistics_api_watch.c | |
parent | a06237deeec4aed38b09f633d7ebbeabb7da4c03 (diff) | |
download | gnunet-2a35e345a204cb357361406f28e07bf9076cb092.tar.gz gnunet-2a35e345a204cb357361406f28e07bf9076cb092.zip |
Allow redirection of STDERR when starting processes.
Diffstat (limited to 'src/statistics/test_statistics_api_watch.c')
-rw-r--r-- | src/statistics/test_statistics_api_watch.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/statistics/test_statistics_api_watch.c b/src/statistics/test_statistics_api_watch.c index 78bc425c5..05806ac4b 100644 --- a/src/statistics/test_statistics_api_watch.c +++ b/src/statistics/test_statistics_api_watch.c | |||
@@ -122,7 +122,8 @@ main (int argc, char *argv_ign[]) | |||
122 | 122 | ||
123 | binary = GNUNET_OS_get_libexec_binary_path ("gnunet-service-statistics"); | 123 | binary = GNUNET_OS_get_libexec_binary_path ("gnunet-service-statistics"); |
124 | proc = | 124 | proc = |
125 | GNUNET_OS_start_process (GNUNET_YES, GNUNET_OS_INHERIT_STD_OUT_AND_ERR, NULL, NULL, | 125 | GNUNET_OS_start_process (GNUNET_YES, GNUNET_OS_INHERIT_STD_OUT_AND_ERR, |
126 | NULL, NULL, NULL, | ||
126 | binary, | 127 | binary, |
127 | "gnunet-service-statistics", | 128 | "gnunet-service-statistics", |
128 | "-c", "test_statistics_api_data.conf", NULL); | 129 | "-c", "test_statistics_api_data.conf", NULL); |