[Bug 25390] New: wineconsole doesn't returns exit code of subprocess
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.
http://bugs.winehq.org/show_bug.cgi?id=25390 Dmitry Timoshkov <dmitry(a)codeweavers.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|programs |-unknown Severity|major |enhancement --- Comment #1 from Dmitry Timoshkov <dmitry(a)codeweavers.com> 2010-12-02 03:07:00 CST --- http://bugs.winehq.org/page.cgi?id=fields.html#bug_severity What Windows application does depend on this? Why do you think that's how wineconsole should behave? -- 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.
http://bugs.winehq.org/show_bug.cgi?id=25390 --- Comment #2 from Cheese Russian <cblp(a)cblp.su> 2010-12-02 03:28:30 CST --- (In reply to comment #1)
http://bugs.winehq.org/page.cgi?id=fields.html#bug_severity Oh, I'm sorry for incorrect fields filling.
What Windows application does depend on this? Why do you think that's how wineconsole should behave? I'm trying to automate some processes, using console windows programs (e.g. gcc.exe to build a windows application), and I can't find out were they finished successfully or not.
-- 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.
http://bugs.winehq.org/show_bug.cgi?id=25390 --- Comment #3 from Cheese Russian <cblp(a)cblp.su> 2010-12-02 03:44:01 CST --- I just found that I can use wine instead of wineconsole. wine does return its subprocess' exit code. But it will be good to implement such feature in wineconsole too. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=25390 --- Comment #4 from butraxz(a)gmail.com 2013-06-27 12:14:25 CDT --- This ticket has not been updated for over 900 days. Is this still an issue in wine version 1.6-rc3 or higher or is this to be closed as abandoned ? -- 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.
https://bugs.winehq.org/show_bug.cgi?id=25390 Wylda <wylda(a)volny.cz> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |wylda(a)volny.cz Resolution|--- |ABANDONED --- Comment #5 from Wylda <wylda(a)volny.cz> --- Abandoned. Feel free to re-open. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=25390 Wylda <wylda(a)volny.cz> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #6 from Wylda <wylda(a)volny.cz> --- Closing - abandoned. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=25390 Sebastian Unger <sebunger44(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sebunger44(a)gmail.com --- Comment #7 from Sebastian Unger <sebunger44(a)gmail.com> --- So how do I re-open this bug? I have the same issue and I cannot use wine since this needs to run in a head-less environment. The program I'm trying to run is python (actually pyinstaller to build an exe from a python app under linux). -- 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.
participants (2)
-
wine-bugs@winehq.org -
WineHQ Bugzilla