The following issue has been SUBMITTED. ====================================================================== http://www.cmake.org/Bug/view.php?id=14645 ====================================================================== Reported By: Nathan Climer Assigned To: ====================================================================== Project: CMake Issue ID: 14645 Category: CMake Reproducibility: always Severity: minor Priority: normal Status: new ====================================================================== Date Submitted: 2013-12-12 11:46 EST Last Modified: 2013-12-12 11:46 EST ====================================================================== Summary: exec_program and execute_process don't capture output when it does not end in a newline Description: When trying to capture output of a process, if the stream does not end in a new line, these commands cannot capture the output.
Steps to Reproduce: The following batch script shows the problem nicely MESSAGE(STATUS "Outputting captured newline") EXEC_PROGRAM(printf ARGS "\"output is shown\\n\"") MESSAGE(STATUS "Outputting without newline") EXEC_PROGRAM(printf ARGS "\"output is not shown\"") ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 2013-12-12 11:46 Nathan Climer New Issue ====================================================================== -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers
