[Tutor] Re: [OT] How to report issues with Standard library modules

DogWalker forestiero at qwest.net
Wed Jan 18 03:06:48 CET 2006


"Liam Clarke" <ml.cyresse at gmail.com> said:

>Hi all,
>

[...]

>So... does anyone know how to pipe stderr in a cmd.exe console to a file?
>foo.exe > bob.txt only pipes stdout, stderr is still hitting the screen.
>
    To have stderr go to a separate file:
       foo.exe > bob.txt &2>err.txt

    To have stderr go to the same file as stdout:
       foo.exe > bob.txt &2>&1

[...]


More information about the Tutor mailing list