http://bugs.winehq.org/show_bug.cgi?id=21227
--- Comment #4 from Frédéric Delanoy frederic.delanoy@gmail.com 2011-06-04 02:30:09 CDT --- (In reply to comment #3)
"dir | bad" was probably a brain fart.
Hey, in wine, if I do dir > blah > bad type blah I get a sharing violation! I bet cmd leaks a file handle there.
In wine-1.3.21(and -159-ge398b93), I get different results: dir 1> ok dir > bad dir > blah > bad
(but no sharing violation when "type"ing)
w2k gives dir 1>ok dir 1>bad dir 1>bad