http://bugs.winehq.org/show_bug.cgi?id=9283
Summary: command output redirection does not work in nmake Product: Wine Version: 0.9.43. Platform: PC-x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P3 Component: wine-dos AssignedTo: wine-bugs@winehq.org ReportedBy: uwe@planetquake.com
Created an attachment (id=7544) --> (http://bugs.winehq.org/attachment.cgi?id=7544) A mini Makefile to demonstrate the problem. You can use other commands like msiexec or the like.
I tried to use nmake.exe in Wine with some simple Makefiles and found, that redirecting the output of a cmd.exe-built-in (like echo or dir) into a file works perfect but when I call in a make rule a real external program and try to direct its output into a file, the output appears on screen, the file is created but it is empty.
Just to explain my use case: I installed ActivePerl for Windows in Wine and tried to install some more Perl modules downloaded as source from CPAN. All Perl module Makefiles call perl.exe several times and redirect its output to append something to a file. And this does not work.
http://bugs.winehq.org/show_bug.cgi?id=9283
--- Comment #1 from Uwe Girlich uwe@planetquake.com 2007-08-12 10:55:39 --- Created an attachment (id=7545) --> (http://bugs.winehq.org/attachment.cgi?id=7545) output of 'wine nmake -f redir.mk'
http://bugs.winehq.org/show_bug.cgi?id=9283
Uwe Girlich uwe@planetquake.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #7544|application/octet-stream |text/plain mime type| |
http://bugs.winehq.org/show_bug.cgi?id=9283
Jason Edmeades us@edmeades.me.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |us@edmeades.me.uk
http://bugs.winehq.org/show_bug.cgi?id=9283
Jason Edmeades us@edmeades.me.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|wine-bugs@winehq.org |us@edmeades.me.uk
--- Comment #2 from Jason Edmeades us@edmeades.me.uk 2007-08-12 16:34:01 --- My fault - broken when I ported to unicode as our msvcrt uses char in its calculations - Patch submitted...
http://bugs.winehq.org/show_bug.cgi?id=9283
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC|us@edmeades.me.uk |wine-bugs@winehq.org Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #3 from Vitaliy Margolen vitaliy@kievinfo.com 2007-08-12 17:36:04 --- I guess confirmed then
http://bugs.winehq.org/show_bug.cgi?id=9283
Jason Edmeades us@edmeades.me.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #4 from Jason Edmeades us@edmeades.me.uk 2007-08-13 10:11:23 --- Patch committed in git - resolving fixed
http://bugs.winehq.org/show_bug.cgi?id=9283
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #5 from Dan Kegel dank@kegel.com 2008-01-28 05:24:51 --- Closing all RESOLVED FIXED bugs more than three months old.