summaryrefslogtreecommitdiffstats
path: root/Source/CPack
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-05-03 15:48:33 (GMT)
committerKitware Robot <kwrobot@kitware.com>2019-05-03 15:48:46 (GMT)
commit186ca170da51d64a50bb15bfd067ca9b4c987327 (patch)
tree7e24dcdf673e68d182f4505d55fa614b9da2f7a2 /Source/CPack
parent6f242acfcb72881d184f5b2468fd4ddcadce01d8 (diff)
parentc85524a94ace9ee400229fede179a605b1c144e3 (diff)
downloadCMake-186ca170da51d64a50bb15bfd067ca9b4c987327.zip
CMake-186ca170da51d64a50bb15bfd067ca9b4c987327.tar.gz
CMake-186ca170da51d64a50bb15bfd067ca9b4c987327.tar.bz2
Merge topic 'std-pipes-always'
c85524a94a Ensure stdin, stdout, and stderr pipes are always open Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Kyle Edwards <kyle.edwards@kitware.com> Merge-request: !3282
Diffstat (limited to 'Source/CPack')
-rw-r--r--Source/CPack/cpack.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/CPack/cpack.cxx b/Source/CPack/cpack.cxx
index 3ceb824..58b9e70 100644
--- a/Source/CPack/cpack.cxx
+++ b/Source/CPack/cpack.cxx
@@ -98,6 +98,7 @@ static void cpackProgressCallback(const std::string& message, float /*unused*/)
// this is CPack.
int main(int argc, char const* const* argv)
{
+ cmSystemTools::EnsureStdPipes();
#if defined(_WIN32) && defined(CMAKE_BUILD_WITH_CMAKE)
// Replace streambuf so we can output Unicode to console
cmsys::ConsoleBuf::Manager consoleOut(std::cout);