An update will be applied January 25th, between 12PM and 1:00PM EST (UTC -5:00). The site may be slow during that time.

Commit 7f9a0f50 authored by Zach's avatar Zach
Browse files

Fixed output as-it-happens issue. Now displays output as it receives each newline.

parent c6e5dd21
......@@ -159,12 +159,16 @@ int cmProcess::CheckOutput(double timeout)
{
// Append to the stdout buffer.
this->StdOutBuffer.insert(this->StdOutBuffer.end(), data, data+length);
this->LastOutputPipe = pipe;
return pipe;
}
else if(pipe == cmsysProcess_Pipe_STDERR)
{
// Append to the stderr buffer.
this->StdErrorBuffer.insert(this->StdErrorBuffer.end(),
data, data+length);
this->LastOutputPipe = pipe;
return pipe;
}
else if(pipe == cmsysProcess_Pipe_None)
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment