On Oct 18, 2014 6:43 AM, "Bryan Baas" <[email protected]> wrote:
>
> Hi,
>
> I was wondering about the command output of wget.  I used a Java Runtime
> exec and, although the wget process ended with a 0 completion code, the
> results appeared in the error stream and not the output stream.

Hi!

It should be noted that "standard error" is rather misleadingly named. By
long-standing convention, it is generally where all logging and
informational messages are meant to go. Standard output is (supposed to be)
reserved for actual program output, suitable for potential piping to the
stdin of another program.

HTH,
-mjc

Reply via email to