Re: [MacPerl-Porters] '> /dev/null 2>&1' equivalent?

[email protected] (Chris Nandor) Sun, 17 Nov 2002 08:02:04 -0500
Newsgroups perl.macperl.porters
Message-ID <p05200f0fb9fd4319f69a@[10.0.1.177]>
At 23:20 -0500 2002.11.16, Michael G Schwern wrote:
>On Sat, Nov 16, 2002 at 10:48:12PM -0500, Chris Nandor wrote:
>> 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.
>
>Is there a way to redirect both STDERR and STDOUT?

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.

-- 
Chris Nandor                      [email protected]    http://pudge.net/
Open Source Development Network    [email protected]     http://osdn.com/