mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-30 19:19:32 -05:00
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.
This commit is contained in:
+1
-1
@@ -621,7 +621,7 @@ int cmcmd::ExecuteCMakeCommand(std::vector<std::string>& args)
|
|||||||
int retval = 0;
|
int retval = 0;
|
||||||
int timeout = 0;
|
int timeout = 0;
|
||||||
if ( cmSystemTools::RunSingleCommand(command.c_str(), 0, 0, &retval,
|
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;
|
return retval;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user