Răsfoiți Sursa

Merge topic 'patch-execute-process'

acba9cb083 execute_process: Document {OUTPUT,ERROR}_STRIP_TRAILING_WHITESPACE

Acked-by: Kitware Robot <[email protected]>
Merge-request: !10498
Brad King 9 luni în urmă
părinte
comite
fd26efc2bd
1 a modificat fișierele cu 4 adăugiri și 0 ștergeri
  1. 4 0
      Help/command/execute_process.rst

+ 4 - 0
Help/command/execute_process.rst

@@ -121,6 +121,10 @@ Options:
  and standard error pipes, respectively.  If the same variable is named
  for both pipes their output will be merged in the order produced.
 
+``OUTPUT_STRIP_TRAILING_WHITESPACE``, ``ERROR_STRIP_TRAILING_WHITESPACE``
+  Removes whitespace characters from the end of the values stored in the
+  corresponding ``OUTPUT_VARIABLE`` and ``ERROR_VARIABLE`` variables.
+
 ``ECHO_OUTPUT_VARIABLE``, ``ECHO_ERROR_VARIABLE``
   .. versionadded:: 3.18