Showing results for May 19, 2006 - The Old New Thing

May 19, 2006
Post comments count0
Post likes count0

Raymond 1, Sidewalk 1

Raymond Chen
Raymond Chen

I successfully avoided the stealth sidewalk the other day. This evens the score. (Today is Starbucks Bike to Work Day.)

Non-Computer
May 19, 2006
Post comments count0
Post likes count0

Redirecting output can result in altered program behavior

Raymond Chen
Raymond Chen

Consider a program whose output to the console goes like this. (I've prefixed each line with the output stream.) You want to capture both the normal and error streams, so you run the program and append "" to capture both streams into a single file. But when you look at the resulting output file, you get this: What happened? Most programs c...

Code