mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-22 06:59:01 -06:00
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.
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user