Subject: Re: Redirecting outputs
To: None <profeta@neomedia.it>
From: Mike Long <mike.long@analog.com>
List: netbsd-help
Date: 10/17/1996 11:31:23
>Date: Thu, 17 Oct 1996 11:57:34 +0200
>From: Dante Profeta <profeta@neomedia.it>

>How can I redirect stderr output as well as stdout to /dev/null?
>
>system("myprog >/dev/null") redirects only the stdout...

system("myprog 2>&1 >/dev/null")
-- 
Mike Long <mike.long@analog.com>     <URL:http://www.shore.net/~mikel>
VLSI Design Engineer         finger mikel@shore.net for PGP public key
Analog Devices, CPD Division          CCBF225E7D3F7ECB2C8F7ABB15D9BE7B
Norwood, MA 02062 USA       (eq (opinion 'ADI) (opinion 'mike)) -> nil