Limit number of compiler error messages

cal callumenator at gmail.com
Sun May 27 12:58:32 PDT 2012


On Sunday, 27 May 2012 at 18:31:53 UTC, Stewart Gordon wrote:
> What version of Windows are you using?
>
> Modern versions support 2> to redirect stderr to a file.  But 
> 2| doesn't seem to work correspondingly (at least under Vista, 
> don't know about Win7) - by the looks of it it just passes 2 as 
> an argument to the program and pipes stdout as usual.
>
> Maybe a utility could be made along similar lines to Rederr 
> (which I published somewhere on these 'groups OUAT)....

Win7. Yeah, using 2> works like you say to redirect, I hadn't 
tried piping, it might need to be redirected first, something 
like 2>&1.




More information about the Digitalmars-d-learn mailing list