https://bugs.winehq.org/show_bug.cgi?id=57649
Bug ID: 57649 Summary: call .bat doesn't propagate errorlevel Product: Wine Version: 10.0-rc3 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: cmd Assignee: wine-bugs@winehq.org Reporter: huangqinjin@gmail.com Distribution: ---
test2.bat:
@echo off call :SetError goto :end
:SetError exit /B 1
:end set a=
test.bat:
@echo off call test2.bat echo %errorlevel%
wine test.bat outputs 0 instead of 1.