diff options
author | Brad King <brad.king@kitware.com> | 2016-01-14 19:41:09 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-01-19 20:44:30 (GMT) |
commit | fb1526f57fe4720aff596b312e6a767502b86e13 (patch) | |
tree | f5313f0a5bb4f0cbd907b8cb86802c96eedb1e2e | |
parent | c13ed964012bcdf3765ada195db66930d6a0fcf9 (diff) | |
download | CMake-fb1526f57fe4720aff596b312e6a767502b86e13.zip CMake-fb1526f57fe4720aff596b312e6a767502b86e13.tar.gz CMake-fb1526f57fe4720aff596b312e6a767502b86e13.tar.bz2 |
cmake: Change `-E chdir` to pass through stdout/stderr directly
Use OUTPUT_PASSTHROUGH instead of OUTPUT_NORMAL in order to avoid
buffering the output just to re-print it.
-rw-r--r-- | Source/cmcmd.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmcmd.cxx b/Source/cmcmd.cxx index fb7b1f5..7da81bb 100644 --- a/Source/cmcmd.cxx +++ b/Source/cmcmd.cxx @@ -621,7 +621,7 @@ int cmcmd::ExecuteCMakeCommand(std::vector<std::string>& args) int retval = 0; int timeout = 0; if ( cmSystemTools::RunSingleCommand(command.c_str(), 0, 0, &retval, - directory.c_str(), cmSystemTools::OUTPUT_NORMAL, timeout) ) + directory.c_str(), cmSystemTools::OUTPUT_PASSTHROUGH, timeout) ) { return retval; } |