https://bugs.winehq.org/show_bug.cgi?id=40483
Bug ID: 40483 Summary: cmd execute "if foo==bar echo haha1& echo haha2" in a wrong way Product: Wine Version: 1.9.8 Hardware: x86 OS: Linux Status: NEW Severity: normal Priority: P2 Component: cmd Assignee: wine-bugs@winehq.org Reporter: fracting@gmail.com Distribution: ---
Step to reproduce"
Run the below command line in cmd console:
if foo==bar echo haha1& echo haha2
Expect result: On windows, the command prints nothing
Actual result: On Wine, the command prints "haha2"
This makes latest MSYS2 fails.