<HTML><HEAD></HEAD>
<BODY dir=ltr>
<DIV dir=ltr>
<DIV style="FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: 12pt">
<DIV>One work-around would be to direct the output a file first then ‘cat’ the
file.</DIV>
<DIV> </DIV>
<DIV style="FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: 12pt">Indy
Singh<BR>IndigoSTAR Software -- www.indigostar.com</DIV>
<DIV
style="FONT-STYLE: normal; DISPLAY: inline; FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: small; FONT-WEIGHT: normal; TEXT-DECORATION: none">
<DIV style="FONT: 10pt tahoma">
<DIV> </DIV>
<DIV style="BACKGROUND: #f5f5f5">
<DIV style="font-color: black"><B>From:</B> <A title=antoniosun@lavabit.com
href="mailto:antoniosun@lavabit.com">Antonio Sun</A> </DIV>
<DIV><B>Sent:</B> Friday, March 16, 2012 3:29 PM</DIV>
<DIV><B>To:</B> <A title=arocker@vex.net
href="mailto:arocker@vex.net">arocker@vex.net</A> </DIV>
<DIV><B>Cc:</B> <A title=toronto-pm@pm.org
href="mailto:toronto-pm@pm.org">toronto-pm@pm.org</A> </DIV>
<DIV><B>Subject:</B> [tpm] OT: getting the output from .Net
apps</DIV></DIV></DIV>
<DIV> </DIV></DIV>
<DIV
style="FONT-STYLE: normal; DISPLAY: inline; FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: small; FONT-WEIGHT: normal; TEXT-DECORATION: none">Thanks
Alan, I've made some interesting discovery based on your suggestion.
<DIV> </DIV>
<DIV>
<DIV>$ bin/Debug/ConsoleApp > output</DIV>
<DIV> </DIV>
<DIV>
<DIV>$ wc output </DIV>
<DIV>1 3 23 output</DIV></DIV>
<DIV> </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> </DIV>
<DIV>
<DIV>$ bin/Debug/ConsoleApp | wc </DIV>
<DIV> 0
0 0</DIV></DIV>
<DIV> </DIV>
<DIV>
<DIV>$ echo `bin/Debug/ConsoleApp` | wc</DIV>
<DIV> 1
0 1</DIV></DIV>
<DIV> </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> </DIV>
<DIV>Thanks</DIV>
<DIV> </DIV>
<DIV> </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
style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex"
class=gmail_quote><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>
<DIV> </DIV></DIV>
<P>
<HR>
_______________________________________________<BR>toronto-pm mailing
list<BR>toronto-pm@pm.org<BR>http://mail.pm.org/mailman/listinfo/toronto-pm<BR></DIV></DIV></DIV></BODY></HTML>