Date: Mon, 22 Oct 2001 06:51:29 GMT From: Cliff Sarginson <cliff@raggedclown.net> To: <matthew.blacklow@ticca.com>, <freebsd-questions@FreeBSD.ORG> Subject: Re: C clue on FreeBSD Message-ID: <E15vYvp-000FQh-00@post.mail.nl.demon.net>
next in thread | raw e-mail | index | archive | help
> Hi all,
> I am running FreeBSD and am trying to learn C. I have a program at the
> moment which using C's "system" function launches a FreeBSD application. The
> problem is that it outputs to the screen all the output of the spawned
> process. I need to know how to supress the output of this process. I have
> looked through many C programming books and on the web and cant seem to find
> what i am looking for.
>
system("program >/dev/null");
--
Regards
Cliff
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E15vYvp-000FQh-00>
