Skip to content

execute_process: Improve COMMAND_ERROR_IS_FATAL error capture scenarios

Asit Dhal requested to merge asit-dhal/cmake:issue-21562 into master
  1. COMMAND_ERROR_IS_FATAL ANY will capture errors if the exit code is non zero, there is a timeout or an abnormal exit.
  2. COMMAND_ERROR_IS_FATAL LAST will capture if only the last process has an exit code non zero, there is a timeout or an abnormal exit.

Fixes: #21562 (closed)
Backport: release
Topic-rename: execute_process-command-error

Edited by Brad King

Merge request reports