Fix bug in printing
This commit is contained in:
parent
b7789388d3
commit
a38b917162
|
@ -1435,9 +1435,13 @@ bool WindowsRunCommand(const char* command, const char* dir,
|
|||
|
||||
//read the stdout pipe
|
||||
memset(buf, 0, sizeof(buf));
|
||||
output += buf;
|
||||
if (verbose)
|
||||
{
|
||||
std::cout << buf << std::flush;
|
||||
}
|
||||
|
||||
}
|
||||
output += "\n";
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue