[cmake-developers] [CMake 0016070]: Malformed newline sequences from externally executed processes
Mantis Bug Tracker
mantis at public.kitware.com
Sun Apr 17 17:52:12 EDT 2016
The following issue has been SUBMITTED.
======================================================================
http://public.kitware.com/Bug/view.php?id=16070
======================================================================
Reported By: Nils Gladitz
Assigned To:
======================================================================
Project: CMake
Issue ID: 16070
Category: (No Category)
Reproducibility: always
Severity: major
Priority: normal
Status: new
======================================================================
Date Submitted: 2016-04-17 17:52 EDT
Last Modified: 2016-04-17 17:52 EDT
======================================================================
Summary: Malformed newline sequences from externally executed
processes
Description:
When running ctest in script mode verbosely e.g. the executed build command
produces "\r\n" newlines. When ctest forwards that output to stdout/stderr these
"\r\n" newlines turn into "\r\r\n".
The same happens when using execute_process() without the OUTPUT_/ERROR_
options.
When using the OUTPUT_/ERROR_ VARIABLE/FILE options "\r" newlines are explicitly
stripped resulting in correct/expected output.
While the windows console and e.g. notepad interpret these "\r\r\n" newline
sequences as a single newline other tools (e.g. buildbot) interpret such a
sequence as two newlines.
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2016-04-17 17:52 Nils Gladitz New Issue
======================================================================
More information about the cmake-developers
mailing list