Mail Archives: cygwin/2000/06/29/12:32:09
On Wed, 28 Jun 2000 16:51:44 -0700 "Dave Arnold" wrote:
> I don't know what causes this but what file does it write to?
> I didn't know there was a stderr file? does it create this file?
>
> /dAVe
>
If one redirects standard out (under a windows MS-DOS window, with
"program >file" then, BOTH fprintf(stdout, ...) AND fprintf(stderr, ...)
get written in "file" -- with specifically redirecting stderr,
in this case stderr should go to the console, but doesn't.
Under bash it does.
> -----Original Message-----
> From: Harry G. McGavran Jr. <hgm AT lanl DOT gov>
> To: cygwin AT sourceware DOT cygnus DOT com <cygwin AT sourceware DOT cygnus DOT com>
> Date: Wednesday, June 28, 2000 12:16 PM
> Subject: stderr/stdout under console
>
>
> >
> >When I run a console type cygwin program under a DOS
> >window in Windows98SE with command.com as the shell
> >fprintf(stderr, ...) seems to go to stdout.
> >
> >If I redirect the standard output to a file, the fprintf(stderr, ...)
> >stuff goes to the file instead of the console ---
> >
> >If I run the same program under bash, it works fine.
> >
> >Does anyone know why this is?????
> >
> > Harry
> >
> >
> >
> >--
> >
> >
> >Harry
> >
> >Internet e-mail: hgm AT lanl DOT gov (Harry G. McGavran, Jr.)
> >Los Alamos National Laboratory, Los Alamos, New Mexico 87545
> >Phone: 505/667-4050
> >
> >
> >
> >
> >--
> >Want to unsubscribe from this list?
> >Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
> >
>
--
Harry
Internet e-mail: hgm AT lanl DOT gov (Harry G. McGavran, Jr.)
Los Alamos National Laboratory, Los Alamos, New Mexico 87545
Phone: 505/667-4050
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
- Raw text -