Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!ccu.umanitoba.ca!herald.usask.ca!alberta!aunro!aupair.cs.athabascau.ca!atha!decwrl!elroy.jpl.nasa.gov!swrinde!zaphod.mps.ohio-state.edu!wuarchive!udel!princeton!phoenix.Princeton.EDU!subbarao From: subbarao@phoenix.Princeton.EDU (Kartik Subbarao) Newsgroups: comp.unix.wizards Subject: Re: Taking Control of stdin/stdout of a slave process Message-ID: <7143@idunno.Princeton.EDU> Date: 14 Mar 91 01:06:04 GMT References: <1991Mar13.163756.26785@evax.arl.utexas.edu> <1991Mar13.174331.21682@athena.mit.edu> Sender: news@idunno.Princeton.EDU Lines: 26 > I am interested in starting a UNIX process from a program and having the > slave process' stdin and stdout piped through FILE*'s in the master process. > > I have worked with popen(), but that only allows one-way piping. > How can I get both directions piped to my controller process? This is not a comp.unix.wizards question. > > Not only is it not a wizards question, but it's answered in the monthly >Frequently Asked Questions posting in comp.unix.questions (which is where this >question should have been posted in the first place). Question number 26. Why does every other question posted to this newsgroup that can be answered in the FAQ deals with pipes and popen()? Is this just a coincidence, or something else?..... -- internet# find . -name core -exec cat {} \; |& tee /dev/tty* subbarao@phoenix.Princeton.EDU -| Internet kartik@silvertone.Princeton.EDU (NeXT mail) SUBBARAO@PUCC.BITNET - Bitnet