[tpm] OT: getting the output from .Net apps
antoniosun at lavabit.com
Fri Mar 16 12:29:00 PDT 2012
Thanks Alan, I've made some interesting discovery based on your suggestion.
$ bin/Debug/ConsoleApp > output
$ wc output
1 3 23 output
It looks that my .Net app writes to STDOUT OK. That's what I've been
$ bin/Debug/ConsoleApp | wc
0 0 0
$ echo `bin/Debug/ConsoleApp` | wc
1 0 1
So now I can confirm that it has nothing to do with Perl, but my .Net app
Still, anyone can help?
On Fri, Mar 16, 2012 at 2:08 PM, <arocker at vex.net> wrote:
> Is .Net specifically defined as writing to STDOUT?
> You could try something like $bin/Debug/ConsoleApp | wc to see if the
> output redirects normally.
> Then perhaps $`bin/Debug/ConsoleApp` | wc and $wc `bin/Debug/ConsoleApp`
> to see if there any problems with the subshell.
> (It doesn't have to be wc, just another command that will produce an
> identifiable result if ConsoleApp outputs something.)
> toronto-pm mailing list
> toronto-pm at pm.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the toronto-pm