December 16, 2005 Re: errors should go to stderr | ||||
---|---|---|---|---|
| ||||
Posted in reply to zwang | zwang wrote: > Stewart Gordon wrote: >> Jari-Matti Mäkelä wrote: >> >>> Stewart Gordon wrote: >>> >>>>>> Windows 9x and DOSes do not fully support stderr. >>>> >>>> What do you mean by this? >>> >>> I guess I mean that AFAIK DOS/Win9x silently merges stdout and stderr. Therefore it's very hard to redirect only the other one of them. >> >> Wrong. stdout and stderr are distinct streams under all versions of DOS and Win32 I've seen. >> >> The only difference is that, using built-in shell features, you can redirect only stdout and not stderr. >> >> But you can redirect stderr using a third-party tool, e.g. >> >> http://www.digitalmars.com/drn-bin/wwwnews?digitalmars.D.announce/1518 >> >> Stewart. > > stderr can be redirected using "2>". We're talking about Win9x here. Are you trying to tell us that there's a version of Win9x in which this works? Stewart. -- -----BEGIN GEEK CODE BLOCK----- Version: 3.1 GCS/M d- s:- C++@ a->--- UB@ P+ L E@ W++@ N+++ o K-@ w++@ O? M V? PS- PE- Y? PGP- t- 5? X? R b DI? D G e++>++++ h-- r-- !y ------END GEEK CODE BLOCK------ My e-mail is valid but not my primary mailbox. Please keep replies on the 'group where everyone may benefit. |
December 16, 2005 Re: errors should go to stderr | ||||
---|---|---|---|---|
| ||||
Posted in reply to Anders F Björklund | Anders F Björklund wrote:
> That is, all the errors:
>
> 1) DMD errors and warnings. (has been fixed in GDC already)
> http://www.algonet.se/~afb/d/diffs/dmd-0.140-gdc-0.17.diff.gz
>
> 2) Phobos errors and exceptions.
> http://www.digitalmars.com/drn-bin/wwwnews?digitalmars.D.bugs/2001
> http://www.digitalmars.com/drn-bin/wwwnews?digitalmars.D.bugs/3170
>
> Currently they are printed to stdout, which is just plain *wrong*.
>
> Another 1.0 showstopper...
I wouldn't call it a showstopper, but... this is now fixed in Ares.
Sean
|
December 16, 2005 Re: errors should go to stderr | ||||
---|---|---|---|---|
| ||||
Posted in reply to Sean Kelly | Sean Kelly wrote:
> I wouldn't call it a showstopper, but... this is now fixed in Ares.
For GDC it used to be (as it broke -pipe), but maybe it isn't for DMD.
Still annoying, though.
--anders
|
December 16, 2005 Re: errors should go to stderr | ||||
---|---|---|---|---|
| ||||
Posted in reply to Sean Kelly | Sean Kelly wrote:
> Anders F Björklund wrote:
>> Currently they are printed to stdout, which is just plain *wrong*.
>>
>> Another 1.0 showstopper...
>
>
> I wouldn't call it a showstopper, but... this is now fixed in Ares.
And it was never an issue in Mango <g>
|
Copyright © 1999-2021 by the D Language Foundation