[Bug 25390] New: wineconsole doesn't returns exit code of subprocess

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Dec 2 02:50:01 CST 2010


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 at winehq.org
        ReportedBy: cblp at 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.



More information about the wine-bugs mailing list