Uses the option OUTPUT_STRIP_TRAILING_WHITESPACE in execute_process