[Bug 11474] New: winelauncher mixes up stdout & stderr
http://bugs.winehq.org/show_bug.cgi?id=11474 Summary: winelauncher mixes up stdout & stderr Product: Wine Version: CVS/GIT Platform: Other OS/Version: other Status: UNCONFIRMED Severity: enhancement Priority: P2 Component: programs AssignedTo: wine-bugs(a)winehq.org ReportedBy: rmh(a)aybabtu.com Created an attachment (id=10617) --> (http://bugs.winehq.org/attachment.cgi?id=10617) simple test case The following line in winelauncher: ( $WINEBIN/$WINE_BIN_NAME "$@"; echo $? >$status_name ) 2>&1 | tee "$log_name" mixes up stdout and stderr irreversibly. As a result, commands like: echo some_file | cpio.exe -o -H newc > out.cpio which would work on Windows, on wine get stderr messages merged into the output. I've been thinking for a while in a way to duplicate streams in bash without mixing stdout with stderr, but couldn't find anything. I think a C wrapper would be needed; perhaps in wine-bin itself. What's your preference? -- 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=11474 Vitaliy Margolen <vitaliy(a)kievinfo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |WONTFIX --- Comment #1 from Vitaliy Margolen <vitaliy(a)kievinfo.com> 2008-02-05 09:37:11 --- Just don't use it. It's the extra helper script that was supposed to help to display errors for users to copy to bugzilla. Now it's not used and all distros are discouraged from using it. In other words it's not meant for scripting, use main "wine" binary. If you distro happened to use this launcher, please report problem to them and make them stop using it. -- 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=11474 --- Comment #2 from Robert Millan <rmh(a)aybabtu.com> 2008-02-05 09:38:31 --- (In reply to comment #1)
In other words it's not meant for scripting, use main "wine" binary. If you distro happened to use this launcher, please report problem to them and make them stop using it.
I will. But why not remove it from the source? Sounds like that would be more effective. -- 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=11474 Robert Millan <rmh(a)aybabtu.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |UNCONFIRMED Resolution|WONTFIX | --- Comment #3 from Robert Millan <rmh(a)aybabtu.com> 2008-02-18 07:06:11 --- The Debian maintainer doesn't believe that winelauncher is deprecated. Since upstream wine is still providing it, that makes it hard for me to convince him otherwise. Please, if winelauncher is really deprecated could you remove it from the repository? Otherwise get in touch with Ove and explain it to him. I can't make sense of it myself but I don't really care as long as you agree on something (so that /usr/bin/wine ends up being a non-broken executable). Thanks -- 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=11474 --- Comment #4 from Robert Millan <rmh(a)aybabtu.com> 2008-02-18 08:34:18 --- Created an attachment (id=10834) --> (http://bugs.winehq.org/attachment.cgi?id=10834) fix Btw, attached patch (made by Ove Kaaven) fixes the problem. -- 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=11474 Robert Millan <rmh(a)aybabtu.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch -- 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=11474 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |testcase --- Comment #5 from Austin English <austinenglish(a)gmail.com> 2008-04-09 04:27:41 --- Any reason we can't remove winelauncher? -- 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=11474 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED --- Comment #6 from Alexandre Julliard <julliard(a)winehq.org> 2008-04-09 05:32:33 --- (In reply to comment #5)
Any reason we can't remove winelauncher?
I killed it. -- 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=11474 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #7 from Alexandre Julliard <julliard(a)winehq.org> 2008-04-18 11:04:01 --- Closing bugs reported fixed in 0.9.60. -- 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=11474 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Version|CVS/GIT |unspecified -- 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.
participants (1)
-
wine-bugs@winehq.org