[Bug 53436] New: Can't recognize ')' as an internal or external command, or batch script.
https://bugs.winehq.org/show_bug.cgi?id=53436 Bug ID: 53436 Summary: Can't recognize ')' as an internal or external command, or batch script. Product: Wine Version: 7.13 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: cmd Assignee: wine-bugs(a)winehq.org Reporter: joel(a)airwebreathe.org.uk Distribution: --- Wine when running the following command file: ------------ if "x"=="x" echo A & (if exist z (echo B) else (echo C))& echo D ------------ On Windows the output is: ------------ c:\workspace>test.cmd c:\workspace>if "x" == "x" echo A & (if exist z (echo B ) else (echo C ) ) & echo D A C D ------------ On Wine 7.13, the output is: ------------ $ wine64 test.cmd 007c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005 007c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005 007c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005 007c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005 Z:\home\user\workspace>if "x"=="x" echo A & (if exist z (echo B) else (echo C))& echo D A C Can't recognise ')' as an internal or external command, or batch script. D ------------ Similar syntax is used in Msys2's msys2_shell.cmd file causing it to get stuck in an infinite loop. -- 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=53436 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, testcase -- 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=53436 Bernhard Übelacker <bernhardu(a)mailbox.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bernhardu(a)mailbox.org --- Comment #1 from Bernhard Übelacker <bernhardu(a)mailbox.org> --- This might be a duplicate of bug 53190. If I remember correctly the last "& echo D" was not important to reproduce, and for simplifiction the example uses a comparison instead of an exist. At least was intended for the same hang in msys2_shell.cmd. -- 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=53436 Joel Holdsworth <joel(a)airwebreathe.org.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |DUPLICATE Status|UNCONFIRMED |RESOLVED --- Comment #2 from Joel Holdsworth <joel(a)airwebreathe.org.uk> --- Looks exactly the same - I didn't realise you already found that one! Closing *** This bug has been marked as a duplicate of bug 53190 *** -- 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=53436 Alistair Leslie-Hughes <leslie_alistair(a)hotmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #3 from Alistair Leslie-Hughes <leslie_alistair(a)hotmail.com> --- Closing Duplicate. -- 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 (1)
-
WineHQ Bugzilla