From owner-freebsd-questions Mon Oct 22 0:45:46 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mail.XtremeDev.com (xtremedev.com [216.241.38.65]) by hub.freebsd.org (Postfix) with ESMTP id C39A437B405 for ; Mon, 22 Oct 2001 00:45:44 -0700 (PDT) Received: from xtremedev.com (xtremedev.com [216.241.38.65]) by mail.XtremeDev.com (Postfix) with ESMTP id 4CB0470614; Mon, 22 Oct 2001 01:45:38 -0600 (MDT) Date: Mon, 22 Oct 2001 01:45:38 -0600 (MDT) From: FreeBSD user To: Matthew Blacklow Cc: freebsd-questions@FreeBSD.ORG Subject: Re: C clue on FreeBSD In-Reply-To: Message-ID: <20011022014457.Q77404-100000@Amber.XtremeDev.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG You could output it to /dev/null, or use popen(3). On Mon, 22 Oct 2001, Matthew Blacklow wrote: > 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. > > All help appreciated > > > Thanks, > Matthew > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message