summaryrefslogtreecommitdiff
path: root/Help/command
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-05-07 14:40:38 -0400
committerBrad King <brad.king@kitware.com>2015-05-07 14:40:38 -0400
commitf65bb82f3688ba33faccf2ef0690571e1aa6edc2 (patch)
tree109fa5d5bcbc524b05f066b15749272f969f5ec8 /Help/command
parent31c218e6e12affd482b9ce2880bd9385c77d9025 (diff)
downloadcmake-f65bb82f3688ba33faccf2ef0690571e1aa6edc2.tar.gz
execute_process: Improve stdout/stderr merging
Use the KWSys Process "MergeOutput" option to give the child process the same pipe (or file) for both stdout and stderr. This allows natural merging of stdout and stderr together instead of merging on arbitrary buffered read boundaries as before.
Diffstat (limited to 'Help/command')
-rw-r--r--Help/command/execute_process.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/Help/command/execute_process.rst b/Help/command/execute_process.rst
index 478b30e11d..c38ec1ae2a 100644
--- a/Help/command/execute_process.rst
+++ b/Help/command/execute_process.rst
@@ -57,7 +57,8 @@ OUTPUT_VARIABLE, ERROR_VARIABLE
INPUT_FILE, OUTPUT_FILE, ERROR_FILE
The file named will be attached to the standard input of the first
process, standard output of the last process, or standard error of
- all processes, respectively.
+ all processes, respectively. If the same file is named for both
+ output and error then it will be used for both.
OUTPUT_QUIET, ERROR_QUIET
The standard output or standard error results will be quietly ignored.