2 Feb
2026
2 Feb
'26
10:56 a.m.
On Mon Feb 2 12:17:22 2026 +0000, eric pouech wrote:
hmm looks like a bug in cmd.exe implementation. quick tests on win10 show that native cmd.exe's exit code (from a process point of view) is latest errorlevel retested carefully, and exit code is not propagated (sorry for the false hope)
you should simplify a bit though with (untested in full) ```shell echo 'start /wait /b msiexec /p some.msi INSTALLDIR="C:\Path with spaces\data"' | wine cmd /k ``` (`cmd` doesn't propagate last errorlevel, while `cmd /k `does...) -- https://gitlab.winehq.org/wine/wine/-/merge_requests/9943#note_128566