From mboxrd@z Thu Jan 1 00:00:00 1970 From: Progga Subject: Re: Capturing output of a process. Date: Fri, 19 Dec 2003 11:05:02 +0600 Sender: linux-c-programming-owner@vger.kernel.org Message-ID: <20031219110502.B340@Imrashi.net.bd> References: <16354.21736.871304.763744@cerise.nosuchdomain.co.uk> Mime-Version: 1.0 Return-path: Content-Disposition: inline In-Reply-To: <16354.21736.871304.763744@cerise.nosuchdomain.co.uk>; from glynn.clements@virgin.net on Fri, Dec 19, 2003 at 01:31:20AM +0000 List-Id: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Glynn Clements Cc: linux-c-programming@vger.kernel.org On Fri, Dec 19, 2003 at 01:31:20AM +0000, Glynn Clements wrote: > Most practical solutions involve allocating a pseudo-tty *before* > starting the process whose output is to be logged. If I want to write something LIKE an SSL server, should I follow this same technique to capture the output of a child process ? Khoda Hafez Progga