diff options
author | Brad King <brad.king@kitware.com> | 2017-02-13 18:49:14 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-02-13 18:53:17 (GMT) |
commit | 07c3380a6e2a09b7e5976ddbacf385b8b4cde2cd (patch) | |
tree | 9fc39a01f6f4de8941ae187a6b1a6fc2ddb07c01 /Source/cmExecuteProcessCommand.cxx | |
parent | 4168bc184e3e15ee76485e49d3bc5852b90f27de (diff) | |
download | CMake-07c3380a6e2a09b7e5976ddbacf385b8b4cde2cd.zip CMake-07c3380a6e2a09b7e5976ddbacf385b8b4cde2cd.tar.gz CMake-07c3380a6e2a09b7e5976ddbacf385b8b4cde2cd.tar.bz2 |
execute_process: Restore no-decoding default behavior
Since commit v3.8.0-rc1~232^2 (execute_process: Add ENCODING option for
Windows child process output, 2016-11-23) we decode child process output
using the console's active codepage by default. This differs from
previous versions of CMake and is therefore incompatible. Changing this
default will require a policy, so for now revert the default behavior
back to performing no decoding.
Reported-by: Nils Gladitz <nilsgladitz@gmail.com>
Diffstat (limited to 'Source/cmExecuteProcessCommand.cxx')
-rw-r--r-- | Source/cmExecuteProcessCommand.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmExecuteProcessCommand.cxx b/Source/cmExecuteProcessCommand.cxx index eb26a50..92cdf64 100644 --- a/Source/cmExecuteProcessCommand.cxx +++ b/Source/cmExecuteProcessCommand.cxx @@ -47,7 +47,7 @@ bool cmExecuteProcessCommand::InitialPass(std::vector<std::string> const& args, std::string error_variable; std::string result_variable; std::string working_directory; - cmProcessOutput::Encoding encoding = cmProcessOutput::Auto; + cmProcessOutput::Encoding encoding = cmProcessOutput::None; for (size_t i = 0; i < args.size(); ++i) { if (args[i] == "COMMAND") { doing_command = true; |