Hi Brad,<div><br></div><div>Finally got around to fix this properly. Let me know what you think.</div><div><br></div><div>Cheers</div><div>/Johan</div><div><br><div class="gmail_quote">On Mon, May 16, 2011 at 6:58 PM, Brad King <span dir="ltr"><<a href="mailto:brad.king@kitware.com">brad.king@kitware.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">On 05/16/2011 10:05 AM, Johan Björk wrote:<br>
> Would it be possible to change the verbose flag to output the results<br>
> on the corresponding stream as it was read on?<br>
<br>
</div>Instead replace the verbose boolean with an enumeration that chooses<br>
among off, on, or split verbosity.<br>
<div class="im"><br>
> I don't quite understand the StdoutCallback and Error callbacks inside<br>
> cmSystemTools. Anyone can tell me what they are used for?<br>
<br>
</div>IIRC they're used inside cmake-gui to capture the output of child<br>
processes for display in the window instead of the real stdout and<br>
stderr.<br>
<div class="im"><br>
> See attached patch. Not sure if I propose it, as it will break for<br>
> anyone expecting all output in stdout. I guess we could introduce a<br>
> --no-merge-output or something flag.<br>
<br>
</div>That makes sense.  The flag would just map through to the proper<br>
argument of RunSingleCommand.<br>
<font color="#888888"><br>
-Brad<br>
</font></blockquote></div><br></div>