Fix bug in printing

This commit is contained in:
Andy Cedilnik 2002-09-30 10:47:06 -04:00
parent b7789388d3
commit a38b917162
1 changed files with 6 additions and 2 deletions

View File

@ -1435,9 +1435,13 @@ bool WindowsRunCommand(const char* command, const char* dir,
//read the stdout pipe
memset(buf, 0, sizeof(buf));
std::cout << buf << std::flush;
output += buf;
if (verbose)
{
std::cout << buf << std::flush;
}
}
output += "\n";
}
else
{