diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-07-17 22:35:36 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-07-17 22:35:36 +0200 |
commit | 28ab2c446fba4980a8295d59fdf203a028a35dd6 (patch) | |
tree | ebd266d1e280e353e8857a7e3e35bbf609c0a888 /src/util/test_os_start_process.c | |
parent | 931232d1141891232e46f5d6fd1432663e730e7a (diff) | |
download | gnunet-28ab2c446fba4980a8295d59fdf203a028a35dd6.tar.gz gnunet-28ab2c446fba4980a8295d59fdf203a028a35dd6.zip |
avoid boolean flag in GNUNET_OS_start_process() API (fixes #6188)
Diffstat (limited to 'src/util/test_os_start_process.c')
-rw-r--r-- | src/util/test_os_start_process.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/util/test_os_start_process.c b/src/util/test_os_start_process.c index 2bdca5c9d..6d4a131bb 100644 --- a/src/util/test_os_start_process.c +++ b/src/util/test_os_start_process.c | |||
@@ -138,7 +138,7 @@ run_task (void *cls) | |||
138 | } | 138 | } |
139 | 139 | ||
140 | proc = | 140 | proc = |
141 | GNUNET_OS_start_process (GNUNET_NO, GNUNET_OS_INHERIT_STD_ERR, | 141 | GNUNET_OS_start_process (GNUNET_OS_INHERIT_STD_ERR, |
142 | hello_pipe_stdin, hello_pipe_stdout, NULL, | 142 | hello_pipe_stdin, hello_pipe_stdout, NULL, |
143 | fn, | 143 | fn, |
144 | "test_gnunet_echo_hello", "-", NULL); | 144 | "test_gnunet_echo_hello", "-", NULL); |
@@ -212,7 +212,8 @@ check_kill () | |||
212 | } | 212 | } |
213 | fn = GNUNET_OS_get_libexec_binary_path ("gnunet-service-resolver"); | 213 | fn = GNUNET_OS_get_libexec_binary_path ("gnunet-service-resolver"); |
214 | proc = | 214 | proc = |
215 | GNUNET_OS_start_process (GNUNET_YES, GNUNET_OS_INHERIT_STD_ERR, | 215 | GNUNET_OS_start_process (GNUNET_OS_INHERIT_STD_ERR |
216 | | GNUNET_OS_USE_PIPE_CONTROL, | ||
216 | hello_pipe_stdin, | 217 | hello_pipe_stdin, |
217 | hello_pipe_stdout, | 218 | hello_pipe_stdout, |
218 | NULL, | 219 | NULL, |
@@ -256,7 +257,8 @@ check_instant_kill () | |||
256 | } | 257 | } |
257 | fn = GNUNET_OS_get_libexec_binary_path ("gnunet-service-resolver"); | 258 | fn = GNUNET_OS_get_libexec_binary_path ("gnunet-service-resolver"); |
258 | proc = | 259 | proc = |
259 | GNUNET_OS_start_process (GNUNET_YES, GNUNET_OS_INHERIT_STD_ERR, | 260 | GNUNET_OS_start_process (GNUNET_OS_INHERIT_STD_ERR |
261 | | GNUNET_OS_USE_PIPE_CONTROL, | ||
260 | hello_pipe_stdin, hello_pipe_stdout, NULL, | 262 | hello_pipe_stdin, hello_pipe_stdout, NULL, |
261 | fn, | 263 | fn, |
262 | "gnunet-service-resolver", "-", NULL); | 264 | "gnunet-service-resolver", "-", NULL); |