<div dir="ltr">Kassen, on unix stderr ends up in the console, the issue (if I understand correctly) is when you want to pipe the output of chuck --probe to a file.<div><br></div><div style>I just tried chuck -h > file.txt, and it's the same there, file.txt ends up empty and I get the help output on the console. I'd say it's a bug, plain and simple - unix apps don't commonly behave that way.</div>
<div style><br></div><div style>/Stefan</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Feb 28, 2013 at 7:40 PM, Kassen <span dir="ltr"><<a href="mailto:signal.automatique@gmail.com" target="_blank">signal.automatique@gmail.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 Fri, Mar 01, 2013 at 01:14:02AM +0800, Ge Wang wrote:<br>
> >To err is human...  but to really screw things up, code it in ChucK.   ;)<br>
><br>
</div>> yessss -- so true!!  gonna save this to the List of Chuckian Wisdom.<br>
><br>
Can we also revive "powertools can maim" as a slogan?<br>
<br>
><br>
> all (or at least most) of chuck system output/log is to stderr...  I<br>
> can't quite remember why... -- I think it's to avoid issues<br>
> regarding buffering on the stdout stream.  For example, it's<br>
> possible for a crash to occur right after printing an important<br>
> message to stdout, but the text may or may not actually print<br>
> without an explicit flush.  This does not happen with stderr.<br>
<br>
That is all good and well, but not very satisfactory. We now need to<br>
wonder why Stderr does not end up in the console where it belongs in<br>
that configuration.<br>
<br>
I'd want to see my errors, they are nice to collect and occasionally<br>
even useful for diagnostics.<br>
<br>
Yours,<br>
Kas.<br>
<div class="HOEnZb"><div class="h5">_______________________________________________<br>
chuck-users mailing list<br>
<a href="mailto:chuck-users@lists.cs.princeton.edu">chuck-users@lists.cs.princeton.edu</a><br>
<a href="https://lists.cs.princeton.edu/mailman/listinfo/chuck-users" target="_blank">https://lists.cs.princeton.edu/mailman/listinfo/chuck-users</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Release me, insect, or I will destroy the Cosmos!
</div>