From owner-freebsd-questions Mon Oct 22 21:50:31 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mail.ideal.net.au (ion.ideal.net.au [203.20.241.5]) by hub.freebsd.org (Postfix) with ESMTP id 1E93437B401 for ; Mon, 22 Oct 2001 21:50:28 -0700 (PDT) Received: from magnesium (vanadium.staff.ideal.net.au [202.3.35.23]) by mail.ideal.net.au (8.9.3/8.9.3) with SMTP id OAA68114 for ; Tue, 23 Oct 2001 14:50:20 +1000 (EST) (envelope-from matthew.blacklow@ticca.com) Reply-To: From: "Matthew Blacklow" To: "freebsd-questions" Subject: C clue on FreeBSD again! Date: Tue, 23 Oct 2001 14:50:21 +1000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-Reply-To: <01102222531300.01714@i8k.babbleon.org> X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Importance: Normal 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 Yesterday I made a post asking how to suppress the output of a program spawned in C using the System() function. The replies I had were very helpful and successfully supressed the output. However they worked a little too good and they even suppressed the return value of the program which i really need to capture. When I dont suppress the output it works fine so I know that the suppressed output is why i am getting weird return values. All help appreciated. Thanks, Matthew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message