[wpkg-users] [Bug 272] Wrong exit code from *.cmd files
bugzilla-daemon at bugzilla.wpkg.org
bugzilla-daemon at bugzilla.wpkg.org
Fri May 11 18:57:41 CEST 2012
http://bugzilla.wpkg.org/show_bug.cgi?id=272
--- Comment #4 from Rainer Meier <r.meier at wpkg.org> ---
The eample of Malte can also easily be reproduced:
-- exit-code-test.cmd --
@echo off
exit 1616
-- exit-code-test.cmd --
-- exit-code-test-b.cmd --
@echo off
exit /b 1616
-- exit-code-test-b.cmd --
On Windows XP Command Shell:
cmd /c exit-code-test.cmd
echo %ERRORLEVEL%
1616
cmd /c exit-code-test-b.cmd
echo %ERRORLEVEL%
0
On Windows 7 Command Shell:
cmd /c exit-code-test.cmd
echo %ERRORLEVEL%
1616
cmd /c exit-code-test-b.cmd
echo %ERRORLEVEL%
1616
--
Configure bugmail: http://bugzilla.wpkg.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the wpkg-users
mailing list