summaryrefslogtreecommitdiffstats
path: root/Help/command/execute_process.rst
Commit message (Collapse)AuthorAgeFilesLines
* execute_process: Allow UTF-8 as a synonym for the UTF8 keywordCraig Scott2017-12-271-2/+4
| | | | | | | | 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-101-1/+8
| | | | | Add a `RESULTS_VARIABLE` option to get the results of all children in a pipeline of one or more `COMMAND`s.
* execute_process: Restore no-decoding default behaviorBrad King2017-02-131-1/+1
| | | | | | | | | | | Since commit v3.8.0-rc1~232^2 (execute_process: Add ENCODING option for Windows child process output, 2016-11-23) we decode child process output using the console's active codepage by default. This differs from previous versions of CMake and is therefore incompatible. Changing this default will require a policy, so for now revert the default behavior back to performing no decoding. Reported-by: Nils Gladitz <nilsgladitz@gmail.com>
* Help: Improve execute_process ENCODING option documentationBrad King2017-02-131-4/+15
| | | | Spell out the options in a definition list and document each one.
* execute_process: Add ENCODING option for Windows child process outputDāvis Mosāns2016-11-301-1/+10
| | | | Different applications can use different output encodings.
* Help: Clarify how to run sequential commands in execute_processChristian Fetzer2016-11-011-1/+4
| | | | | | The execute_process command starts all commands in parallel (in order for the piping to work). Mention this explicitly and also add a note about how to execute commands sequentially.
* Help: Improve formatting of command documentationMichael Scott2015-06-081-7/+7
| | | | | Use inline reStructuredText markup and add cross-references in more places.
* execute_process: Improve stdout/stderr mergingBrad King2015-05-071-1/+2
| | | | | | | 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.
* Help: Clarify execute_process COMMAND argument behaviorBrad King2013-11-071-0/+14
| | | | | | | | State in the execute_process how COMMAND arguments are passed to the child. Add a note at the end about how the command differs from add_custom_*(). Suggested-by: Alan W. Irwin
* Help: Format execute_process command documentationBrad King2013-11-071-26/+39
| | | | | Use a code-block for the signature. Format the options as a definition list.
* Convert builtin help to reStructuredText source filesKitware Robot2013-10-151-0/+48
Run the convert-help.bash script to convert documentation: ./convert-help.bash "/path/to/CMake-build/bin" Then remove it.