From ee10aa7313b46cd3bbd5ff0a08676dc580740e46 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Kochma=C5=84ski?= Date: Fri, 17 Feb 2017 17:58:13 +0100 Subject: [PATCH] run-program: error stream direction is output --- src/c/unixsys.d | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/c/unixsys.d b/src/c/unixsys.d index 468948aa7..4e9f98749 100644 --- a/src/c/unixsys.d +++ b/src/c/unixsys.d @@ -626,7 +626,7 @@ create_descriptor(cl_object stream, cl_object direction, &child_stderr, 0, TRUE, DUPLICATE_SAME_ACCESS); else - create_descriptor(error, @':error', &child_stderr, &parent_error); + create_descriptor(error, @':output', &child_stderr, &parent_error); add_external_process(the_env, process); @@ -680,7 +680,7 @@ create_descriptor(cl_object stream, cl_object direction, if (error == @':output') child_stderr = child_stdout; else - create_descriptor(error, @':error', &child_stderr, &parent_error); + create_descriptor(error, @':output', &child_stderr, &parent_error); add_external_process(the_env, process); pipe(pipe_fd);