"Liam Clarke" <[EMAIL PROTECTED]> 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

[...]
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to