summaryrefslogtreecommitdiffstats
path: root/Help/command/execute_process.rst
diff options
context:
space:
mode:
authorCraig Scott <craig.scott@crascit.com>2020-10-24 11:48:30 (GMT)
committerCraig Scott <craig.scott@crascit.com>2020-10-24 11:58:42 (GMT)
commit95c14579f2b36e71bd217c9b03a2e20767650ecf (patch)
tree15d0db55cc06f68dc1024c7a781b16eefbf08365 /Help/command/execute_process.rst
parentf2a59d400e9ec2e937f6000000c2e9860e388ca7 (diff)
downloadCMake-95c14579f2b36e71bd217c9b03a2e20767650ecf.zip
CMake-95c14579f2b36e71bd217c9b03a2e20767650ecf.tar.gz
CMake-95c14579f2b36e71bd217c9b03a2e20767650ecf.tar.bz2
Help: Cleanup typos and grammar for the 3.19 release
Diffstat (limited to 'Help/command/execute_process.rst')
-rw-r--r--Help/command/execute_process.rst14
1 files changed, 11 insertions, 3 deletions
diff --git a/Help/command/execute_process.rst b/Help/command/execute_process.rst
index a6f141a..268c307 100644
--- a/Help/command/execute_process.rst
+++ b/Help/command/execute_process.rst
@@ -118,9 +118,17 @@ Options:
This is analogous to the ``tee`` Unix command.
``COMMAND_ERROR_IS_FATAL <ANY|LAST>``
- ``COMMAND_ERROR_IS_FATAL ANY`` option stops processing if any command fails.
- ``COMMAND_ERROR_IS_FATAL LAST`` option stops processing if the last command
- in the command list fails.
+ The option following ``COMMAND_ERROR_IS_FATAL`` determines the behavior when
+ an error is encountered:
+
+ ``ANY``
+ If any of the commands in the list of commands fail, the
+ ``execute_process()`` command halts with an error.
+
+ ``LAST``
+ If the last command in the list of commands fails, the
+ ``execute_process()`` command halts with an error. Commands earlier in the
+ list will not cause a fatal error.
If more than one ``OUTPUT_*`` or ``ERROR_*`` option is given for the
same pipe the precedence is not specified.