News for hackers. Stuff that matters.
Re:The Birth of Standard Error (2013) by pflanze on Saturday August 01, 2015 @02:14PM (#9988035)
I wasn't aware that Microsoft Windows supported a stderr filehandle separate from stdout. When I worked a little on it about 17 years ago, I thought it didn't have that (e.g. warnings from Perl were intermixed with redirected stdout or so). Did I misinterpret something or has the system been changed?

(Edit: that was longer ago than I first remembered; it was on Windows NT.)

Re:The Birth of Standard Error (2013) by photokandy on Saturday August 01, 2015 @05:46PM (#9988807)
Yeah, Windows NT Workstation 3.1 was the first Windows to have stderr redirection[1]. Windows 95, 98 and Millennium (oh, that horrid edition. I actually bought it! Gag.) don't support redirecting STDERR according to Wiki[2].

[1] https://support.microsoft.com/en-us/kb/110930

[2] https://en.wikipedia.org/wiki/COMMAND.COM#Redirection.2C_pip...

Re:The Birth of Standard Error (2013) by pflanze on Sunday August 02, 2015 @07:16AM (#9990408)
Thanks. Thus it seems that I misinterpreted it (I was on NT 4): I've got somewhat solid confirmation that Perl also supported it on NT, thus I guess I got to the conclusion from old docs that were written for Win95/98/ME.
Re:The Birth of Standard Error (2013) by NonEUCitizen on Saturday August 01, 2015 @06:21PM (#9988926)
You can redirect stderr on Windows (nowadays) -- it's mentioned in your first link. Example:

my.exe 2> err.txt

Re:The Birth of Standard Error (2013) by photokandy on Saturday August 01, 2015 @06:32PM (#9988964)
Yes -- I was just indicating that WinNT was the first Windows to do it. Every Windows based on the NT kernel supports stderr redirection. Win95, 98, and ME didn't, since they were on a different kernel.

Still can't believe I bought ME. sigh