summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/execute_process
Commit message (Collapse)AuthorAgeFilesLines
* execute_process: Add option to echo command linesBill Hoffman2019-04-1910-0/+88
| | | | | | | | | | Add COMMAND_ECHO option to the execute_process command. This will allow execute_process to show the command it will run. Also add a cmake variable CMAKE_EXECUTE_PROCESS_COMMAND_ECHO. Both the option and the variable can be set to one of the following: STDERR|STDOUT|NONE. The command will be printed to stderr or stdout or not at all. Fixes: #18933
* execute_process: Allow UTF-8 as a synonym for the UTF8 keywordCraig Scott2017-12-272-0/+2
| | | | | | | | UTF-8 is the proper naming according to the UTF-8 RFC and is also the name used for a similar keyword in the file() command. This commit brings (backward compatible) consistency to the keyword names and allows the standard UTF-8 name to be used with execute_process(). The old UTF8 keyword is still supported.
* execute_process: Add option to get results of every childAdam Weisi2017-06-103-0/+138
| | | | | Add a `RESULTS_VARIABLE` option to get the results of all children in a pipeline of one or more `COMMAND`s.
* execute_process: Add ENCODING option for Windows child process outputDāvis Mosāns2016-11-307-0/+21
| | | | Different applications can use different output encodings.
* execute_process: Improve stdout/stderr mergingBrad King2015-05-077-0/+55
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.