[ros-dev] Re: [ros-svn] [greatlrd] 16563: Change some error msg from ConErr to ConOut for they are being pipe so the behover are equal with ms windows cmd

Hartmut Birr hartmut.birr at gmx.de
Tue Jul 19 21:28:39 CEST 2005


magnus at itkonsult-olsen.com wrote:

>Hi
>Some Err msg shall always goes thurg the ConErr. but some error msg are redirect
>with commad > file, and goes to that file. I have test it on win2k cmd
>see which err msg did go to ConOut and which did goes to ConErr. 
>
I do not agree. Some simple tests show wrong results:

cd 123 1>1.txt 2>2.txt
dir 123 1>1.txt 2>2.txt

The error message is in 1.txt. They should be in 2.txt. 123 isn't a
valid directory or file.

123 1>1.txt 2>2.txt

This sample shows the correct result.

- Hartmut




More information about the Ros-dev mailing list