Subject: Redirecting outputs
To: NetBSD-Help <netbsd-help@NetBSD.ORG>
From: Dante Profeta <profeta@neomedia.it>
List: netbsd-help
Date: 10/17/1996 11:57:34
>From a program of mine (which is called by cron) I run an external
program (system()) which writes some info to stdout and stderr (catched
by cron).

How can I redirect stderr output as well as stdout to /dev/null?

system("myprog >/dev/null") redirects only the stdout...

Thanks a lot.
--
__  ____
_|\an|e_  profeta@neomedia.it