https://bugs.winehq.org/show_bug.cgi?id=57147
Bug ID: 57147 Summary: exit /B doesn't break for loop Product: Wine Version: 9.16 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: cmd Assignee: wine-bugs@winehq.org Reporter: huangqinjin@gmail.com Distribution: ---
The test.bat script print all `dir` output. But on Windows only one line is printed.
test.bat:
@echo off
for /F "delims=" %%G in ('dir') do ( echo "%%G" exit /B 0 )
https://bugs.winehq.org/show_bug.cgi?id=57147
Ken Sharp imwellcushtymelike@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, source, testcase
https://bugs.winehq.org/show_bug.cgi?id=57147
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever confirmed|0 |1 CC| |dark.shadow4@web.de
--- Comment #1 from Fabian Maurer dark.shadow4@web.de --- Confirming
https://bugs.winehq.org/show_bug.cgi?id=57147
Eric Pouech eric.pouech@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |eric.pouech@gmail.com
--- Comment #2 from Eric Pouech eric.pouech@gmail.com --- should be fixed by 909fe9474bbbafa1d67babdb582f7245a0d125ec
https://bugs.winehq.org/show_bug.cgi?id=57147
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |909fe9474bbbafa1d67babdb582 | |f7245a0d125ec Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #3 from Fabian Maurer dark.shadow4@web.de --- Marking fixed by https://gitlab.winehq.org/wine/wine/-/commit/909fe9474bbbafa1d67babdb582f724...
Thanks for your continued cmd work!
https://bugs.winehq.org/show_bug.cgi?id=57147
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #4 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 9.19.