https://bugs.winehq.org/show_bug.cgi?id=57025
Bug ID: 57025 Summary: error with %ERRORLEVEL% when running command in sequence Product: Wine Version: 9.12 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: cmd Assignee: wine-bugs@winehq.org Reporter: nemos200408@gmail.com Distribution: ---
When running several commands in sequence (by &) next command not see error code (%ERRORLEVEL%) from previous Problem absent in wine 9.11 and present in 9.12-9.14.
To reproduce
in fresh cmd session (wine64 cmd) run from command line test.bat & echo %ERRORLEVEL%
in test.bat only one command exit /b 1
in wine 9.11 it output 1
in wine 9.12-9.14 it output 0