greatlrd@svn.reactos.com wrote:
Change some error msg from ConErr to ConOut for they are being pipe so the behover are equal with ms windows cmd
Updated files: trunk/reactos/subsys/system/cmd/error.c
Ros-svn mailing list Ros-svn@reactos.com http://reactos.com:8080/mailman/listinfo/ros-svn
Hi,
I think this change is wrong (also some parts from 16579). The error messages have always to go to the error output (STD_ERROR_HANDLE).
- Hartmut
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. Sorry I have not answer you faster. I have not read my mail for some days now.
Quoting Hartmut Birr hartmut.birr@gmx.de:
greatlrd@svn.reactos.com wrote:
Change some error msg from ConErr to ConOut for they are being pipe so the
behover are equal with ms windows cmd
Updated files: trunk/reactos/subsys/system/cmd/error.c
Ros-svn mailing list Ros-svn@reactos.com http://reactos.com:8080/mailman/listinfo/ros-svn
Hi,
I think this change is wrong (also some parts from 16579). The error messages have always to go to the error output (STD_ERROR_HANDLE).
- Hartmut
Ros-dev mailing list Ros-dev@reactos.com http://reactos.com:8080/mailman/listinfo/ros-dev
magnus@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
Hi Hartmut I have not go thrung each command yet which err msg should go to ConOut and which should not. cd 123 should always goes to ConErr yes, and copy goes always to ConOut, it is diffent for diffent command example copy x f: > test x or drive f: does not exists and it always goes to ConOut.
Quoting Hartmut Birr hartmut.birr@gmx.de:
magnus@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
Ros-dev mailing list Ros-dev@reactos.com http://reactos.com:8080/mailman/listinfo/ros-dev