Thanks Alan, I've made some interesting discovery based on your suggestion.<div><br></div><div><div>$ bin/Debug/ConsoleApp > output</div><div><br></div><div><div>$ wc output </div><div> 1 3 23 output</div></div><div>
<br></div><div>It looks that my .Net app writes to STDOUT OK. That's what I've been testing.</div><div>But look. </div><div><br></div><div><div>$ bin/Debug/ConsoleApp | wc </div><div> 0 0 0</div></div>
<div><br></div><div><div>$ echo `bin/Debug/ConsoleApp` | wc</div><div> 1 0 1</div></div><div><br></div><div>So now I can confirm that it has nothing to do with Perl, but my .Net app and cygwin. </div><div>
Still, anyone can help?</div><div><br></div><div>Thanks</div><div><br></div><div><br></div><div class="gmail_quote">On Fri, Mar 16, 2012 at 2:08 PM, <span dir="ltr"><<a href="mailto:arocker@vex.net">arocker@vex.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
Is .Net specifically defined as writing to STDOUT?<br>
<br>
You could try something like $bin/Debug/ConsoleApp | wc to see if the<br>
output redirects normally.<br>
<br>
Then perhaps $`bin/Debug/ConsoleApp` | wc and $wc `bin/Debug/ConsoleApp`<br>
to see if there any problems with the subshell.<br>
<br>
(It doesn't have to be wc, just another command that will produce an<br>
identifiable result if ConsoleApp outputs something.)<br>
<div><div></div><div class="h5"><br>
_______________________________________________<br>
toronto-pm mailing list<br>
<a href="mailto:toronto-pm@pm.org">toronto-pm@pm.org</a><br>
<a href="http://mail.pm.org/mailman/listinfo/toronto-pm" target="_blank">http://mail.pm.org/mailman/listinfo/toronto-pm</a><br>
</div></div></blockquote></div><br></div>