summaryrefslogtreecommitdiffstats
path: root/Help/command/execute_process.rst
Commit message (Collapse)AuthorAgeFilesLines
* Help: describe the command pipeline of execute_process more explicitlyJoachim Wuttke (l)2019-03-201-1/+3
| | | | | | | | When reading the doc page on execute_process, I was mislead by the words "in parallel". They convinced at once that the processes are run independently of each other, so that I did not even bother to read further. The rewording, and not least the insertion of a paragraph break, should prevent such oversight.
* Help: improve source formattingJoachim Wuttke (l)2019-03-201-3/+3
|
* Help: describe what happens if command execute_process reaches timeout.Joachim Wuttke (l)2019-03-201-2/+3
|
* Help: Spell out ";-list" as "semicolon-separated list"Joachim Wuttke (o)2018-10-251-1/+1
|
* Help: Override pygments CMakeLexer to support <..> and [..]Joachim Wuttke (o)2018-10-181-2/+2
| | | | | | | | | | | | | | | | | | | | | | * The code snippets in the docs consist of CMake code mixed with syntax definition punctuation like < > [ ] ... Therefore a pure CMake lexer is inadequate. Here it is replaced by a CMake syntax definition parser. * Fixed syntax definition snippets in FindPkgConfig.cmake to make best use of syntax highlighting. This source file is the hardest to support because it contains comparison operators <= = >=, which need special attention to avoid confusion with the placeholder indicators <...>. * Fixed syntax in execute_process.rst (there were unbalanced brackets). * Disabled syntax highlighting for long string examples in cmake-language.7.rst. * No highlighting of removed syntax in CMP0049 * To inspect the outcome of this patch, see e.g. the pages * manual/cmake-buildsystem.7.html * module/ExternalProject.html * module/FindPkgConfig.html which are particularly rich in complex code snippets.
* 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.