On Unix its '> /dev/null 2>&1'.
Windows defines it as '> NUL'.
MacOS Classic doesn't have a definition and that causes problems. It means
more code that really has to be is overriden in MM_MacOS.pm to strip out
$(DEV_NULL) calls.
Is there something MakeMaker can stick on the end of a command in the MPW
shell (I think its the MPW shell that MM_MacOS is typically run with) to
supress its output?
--
Michael G. Schwern <sch...@pobox.com> http://www.pobox.com/~schwern/
Perl Quality Assurance <per...@perl.org> Kwalitee Is Job One
There is a disurbing lack of PASTE ENEMA on the internet.
Yeah, it is also noted in test.pl:runperl():
$runperl .= " \xB3 Dev:Null" if !$args{stderr} && $is_macos;
By default, stderr and stdout are both returned together. \xB3 ("„") will
redirect STDERR. Dev:Null is the null device.
--
Chris Nandor pu...@pobox.com http://pudge.net/
Open Source Development Network pu...@osdn.com http://osdn.com/
Is there a way to redirect both STDERR and STDOUT?
--
Michael G. Schwern <sch...@pobox.com> http://www.pobox.com/~schwern/
Perl Quality Assurance <per...@perl.org> Kwalitee Is Job One
Keep your stick on the ice.
-- Red Green
Oh right, you want both. That's what I get for answering late at night.
"\xB7 Dev:Null"
\xB7 (capital sigma, "…") specifies both "output" and "diagnostic"
(STDOUT/STDERR) at the same time.