Real Name:<br> Erich Hoover<br>Description:<br> Fix a problem with Wine's cmd.exe that causes the file handles for redirects to not be cleaned up when the in/out/error pipes do not exist (when GetStdHandle(pipe) == INVALID_HANDLE_VALUE). This issue was uncovered getting Athena Visual Studio to work, it spawns off a copy of cmd.exe to run a batch file and that process does not have any pipes. Sorry about sending the wrong attachment last time.<br>
Changelog:<br> wcmd: Properly cleanup redirects when there are no in/out/error pipes<br>