Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!decvax!ucbvax!tektronix.tek.com!joey%q7%tessi From: joey%q7%tessi@tektronix.tek.com.UUCP Newsgroups: mod.computers.vax Subject: Submission for mod-computers-vax Message-ID: <8612231825.AA08307@q7.tessi.uucp> Date: Tue, 23-Dec-86 13:25:11 EST Article-I.D.: q7.8612231825.AA08307 Posted: Tue Dec 23 13:25:11 1986 Date-Received: Wed, 24-Dec-86 20:38:42 EST Sender: daemon@ucbvax.BERKELEY.EDU Organization: The ARPA Internet Lines: 19 Approved: info-vax@sri-kl.arpa Path: q7!joey From: joey@q7.UUCP (Joe Pruett) Newsgroups: mod.computers.vax Subject: Re: Output file sharing by C child processes Message-ID: <307@q7.UUCP> Date: 23 Dec 86 18:25:07 GMT References: <8612220638.AA15514@seismo.CSS.GOV> Reply-To: joey@q7.UUCP (Joe Pruett) Organization: TSSI, Beaverton, Oregon Lines: 8 As long as your processes do not run concurrently, the solution we came up with is to have the child process write to a pipe to the parent, which the parent copies to it's stdout stream. We hid all this in our version of system(). If people would like that code, I could post it as well (it's not completely trivial). -- Joe Pruett ...!tektronix!tessi!joey