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.