[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: make 3.81 MinGW port and testsuite working with MSYS
From: |
Paul D. Smith |
Subject: |
Re: make 3.81 MinGW port and testsuite working with MSYS |
Date: |
Sun, 27 Feb 2005 16:14:32 -0500 |
%% "Eli Zaretskii" <address@hidden> writes:
>> 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.
ez> Really? Can't you run the command via sh.exe explicitly, i.e. use the
ez> command
ez> sh -c "WHATEVER 2>&1"
ez> ? (Note that the redirection must be inside the quotes, so that sh
ez> interprets it.) I'd expect this to DTRT even on Windows.
Alessandro's point is that my suggested "improvement" is using Perl's
open() with a pipe and redirection rather than using system, so no shell
would be invoked.
I was assuming that since redirection in an open() call is documented by
Perl, that Perl would handle that itself rather than relying on the
shell to implement it. I guess not :-/.
--
-------------------------------------------------------------------------------
Paul D. Smith <address@hidden> Find some GNU make tips at:
http://www.gnu.org http://make.paulandlesley.org
"Please remain calm...I may be mad, but I am a professional." --Mad Scientist
- Re: make 3.81 MinGW port and testsuite working with MSYS, (continued)
- Re: make 3.81 MinGW port and testsuite working with MSYS, Earnie Boyd, 2005/02/24
- Re: make 3.81 MinGW port and testsuite working with MSYS, Paul D. Smith, 2005/02/25
- Re: make 3.81 MinGW port and testsuite working with MSYS, J. Grant, 2005/02/26
- Re: make 3.81 MinGW port and testsuite working with MSYS, Paul D. Smith, 2005/02/25
- Re: make 3.81 MinGW port and testsuite working with MSYS, Paul D. Smith, 2005/02/25
- Re: make 3.81 MinGW port and testsuite working with MSYS, J. Grant, 2005/02/26
- Re: make 3.81 MinGW port and testsuite working with MSYS, Paul D. Smith, 2005/02/26
- Re: make 3.81 MinGW port and testsuite working with MSYS, Alessandro Vesely, 2005/02/27
- Re: make 3.81 MinGW port and testsuite working with MSYS, Paul D. Smith, 2005/02/27
- Re: make 3.81 MinGW port and testsuite working with MSYS, Eli Zaretskii, 2005/02/27
- Re: make 3.81 MinGW port and testsuite working with MSYS,
Paul D. Smith <=
- Re: make 3.81 MinGW port and testsuite working with MSYS, Eli Zaretskii, 2005/02/27
- Re: make 3.81 MinGW port and testsuite working with MSYS, Earnie Boyd, 2005/02/28
- Re: make 3.81 MinGW port and testsuite working with MSYS, Alessandro Vesely, 2005/02/28
- Re: make 3.81 MinGW port and testsuite working with MSYS, Paul D. Smith, 2005/02/28
- Re: make 3.81 MinGW port and testsuite working with MSYS, J. Grant, 2005/02/28
- Re: make 3.81 MinGW port and testsuite working with MSYS, J. Grant, 2005/02/28
- Re: make 3.81 MinGW port and testsuite working with MSYS, Paul D. Smith, 2005/02/28
- Re: make 3.81 MinGW port and testsuite working with MSYS, Paul D. Smith, 2005/02/25
- Re: make 3.81 MinGW port and testsuite working with MSYS, Eli Zaretskii, 2005/02/26
- Re: make 3.81 MinGW port and testsuite working with MSYS, Paul D. Smith, 2005/02/26