make-w32
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: make 3.81 MinGW port and testsuite working with MSYS


From: Eli Zaretskii
Subject: Re: make 3.81 MinGW port and testsuite working with MSYS
Date: Sun, 27 Feb 2005 22:12:01 +0200

> Date: Sun, 27 Feb 2005 15:45:39 +0100
> From: Alessandro Vesely <address@hidden>
> Cc: address@hidden
> 
> "Paul D. Smith" wrote:
> > 
> > What happens if you replace the test_driver.pl:run_command_with_output()
> > sub with the following;
> 
> It won't work on a win32 perl, because of the `2>&1'. Of course,
> we need a unixy shell to run the tests, but AFAIK there's no way
> to let perl also use it.

Really?  Can't you run the command via sh.exe explicitly, i.e. use the
command

    sh -c "WHATEVER 2>&1"

?  (Note that the redirection must be inside the quotes, so that sh
interprets it.)  I'd expect this to DTRT even on Windows.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]