Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

Re: Inline: where did the output go?

by Moron (Curate)
on Jun 12, 2007 at 12:16 UTC ( #620705=note: print w/ replies, xml ) Need Help??

in reply to Inline: where did the output go?

We don't know what you did in either program of course. My first instinct would be to try

./ > output.txt 2>&1
and see if the output magically appears in the file. If so then you can conclude that the output is going to STDERR instead of STDOUT as you expected.

Update: and if that doesn't do anything also try 0>&1 just to make sure and if that makes the difference you were writing to STDIN.


^M Free your mind!

Comment on Re: Inline: where did the output go?
Download Code
Re^2: Inline: where did the output go?
by andye (Curate) on Jun 12, 2007 at 14:14 UTC
    Tried that, but it didn't help. Thanks for the thought though.

    Best wishes, andye

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://620705]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (10)
As of 2014-09-24 00:01 GMT
Find Nodes?
    Voting Booth?

    How do you remember the number of days in each month?

    Results (243 votes), past polls