Skip to content

execute_process: capture results from all processes in a pipeline

aweisi requested to merge (removed):master into master

By adding parameter which contains the result codes of all child processes. client code can check which process exactly failed.

execute_process(  COMMAND <cmd1>
                             COMMAND <cmd2>
                             RESULT_VARIABLES list_of_results
                           )

list(GET list_of_results 0 exitCodeOfCmd1)
list(GET list_of_results 1 exitCodeOfCmd2)

Topic-rename: execute_process-pipeline-results

Merge request reports

Loading