http://bugs.winehq.org/show_bug.cgi?id=25390 Summary: wineconsole doesn't returns exit code of subprocess Product: Wine Version: 1.2 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: major Priority: P2 Component: programs AssignedTo: wine-bugs(a)winehq.org ReportedBy: cblp(a)cblp.su wineconsole should exit with the code, that was returned by nested command. Example 1. $ wineconsole cmd CMD Version 1.2
thereisnosuchcommand File not found echo %ERRORLEVEL% 9009 exit $ echo $? 0
Example 2. $ wineconsole thereisnosuchcommand wine: cannot find L"C:\\windows\\system32\\thereisnosuchcommand.exe" wineconsole: Starting command "thereisnosuchcommand" failed. The command is invalid. $ echo $? 0 And always 0, regardless of subprocess. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.