%% "Eli Zaretskii" <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> 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 _______________________________________________ Make-w32 mailing list [email protected] http://lists.gnu.org/mailman/listinfo/make-w32
