The following issue has been SUBMITTED. ====================================================================== http://public.kitware.com/Bug/view.php?id=13180 ====================================================================== Reported By: Gili Assigned To: ====================================================================== Project: CMake Issue ID: 13180 Category: CMake Reproducibility: always Severity: minor Priority: normal Status: new ====================================================================== Date Submitted: 2012-05-02 00:01 EDT Last Modified: 2012-05-02 00:01 EDT ====================================================================== Summary: cmake output unnecessary carriage-return characters Description: I am spawning "CMake --build" from a Java application and sniffing the output to stdout and stderr. I noticed that every time CMake outputs a new line it actually sends out:
13, 13, 10; or, \r, \r, \n I am using the standard Java BufferedReader.readLine() code which recognizes a single newline as \r, \n, or \r\n. The above sequence gets interpreted as *two* newlines instead of one. Why is CMake outputting \r\r\n? Is it possible to make it output \r\n instead? Steps to Reproduce: Invoke "CMake --build" using Java's ProcessBuilder. Invoke ProcessBuilder.getInputStream() to listen to the output. ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 2012-05-02 00:01 Gili 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
