[Bug 44063] New: Parentheses cause cmd.exe failing to recognize '2>&1'
https://bugs.winehq.org/show_bug.cgi?id=44063 Bug ID: 44063 Summary: Parentheses cause cmd.exe failing to recognize '2>&1' Product: Wine Version: 2.20 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs(a)winehq.org Reporter: jhasse(a)gmail.com Distribution: --- On Windows cmd.exe /C "(echo foo) 2>&1" works (only outputs "foo"), while on wine it results in: foo Can't recognize '2' as an internal or external command, or batch script. and a non-zero exit code. Removing the parenthesis would work: wine cmd.exe /C "echo foo 2>&1" I need them though, since I want to do stuff like this: wine cmd.exe /C "(echo foo && echo bar) 2>&1" Maybe related: https://bugs.winehq.org/show_bug.cgi?id=43337 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=44063 Fabian Maurer <dark.shadow4(a)web.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |cmd Status|UNCONFIRMED |NEW Ever confirmed|0 |1 CC| |dark.shadow4(a)web.de --- Comment #1 from Fabian Maurer <dark.shadow4(a)web.de> --- Confirming. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=44063 Vijay Kamuju <infyquest(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED CC| |infyquest(a)gmail.com Fixed by SHA1| |6c39db0ca01a93003d2fbf2581f | |c2c3fcb3266c8 --- Comment #2 from Vijay Kamuju <infyquest(a)gmail.com> --- This is fixed as part of cmd rewrite - https://source.winehq.org/git/wine.git/commit/6c39db0ca01a93003d2fbf2581fc2c... -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=44063 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #3 from Alexandre Julliard <julliard(a)winehq.org> --- Closing bugs fixed in 9.12. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (2)
-
wine-bugs@winehq.org -
WineHQ Bugzilla