Path: utzoo!news-server.csri.toronto.edu!rutgers!mit-eddie!wuarchive!zaphod.mps.ohio-state.edu!usc!snorkelwacker.mit.edu!bloom-picayune.mit.edu!athena.mit.edu!jik From: jik@athena.mit.edu (Jonathan I. Kamens) Newsgroups: comp.unix.wizards Subject: Re: Taking Control of stdin/stdout of a slave process Message-ID: <1991Mar13.174331.21682@athena.mit.edu> Date: 13 Mar 91 17:43:31 GMT References: <1991Mar13.163756.26785@evax.arl.utexas.edu> Sender: news@athena.mit.edu (News system) Organization: Massachusetts Institute of Technology Lines: 25 In article <1991Mar13.163756.26785@evax.arl.utexas.edu>, rduff@evax.arl.utexas.edu (Robert Duff) writes: |> 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. If the comp.unix.questions FAQ has expired at your site, you can either wait until it is posted again, or send me E-mail and I'll send it to you. And rather than just reading the one question in the FAQ that answers this particular question it would probably be a good idea for you to scan the whole thing briefly before posting any additional questions to the net. -- Jonathan Kamens USnail: MIT Project Athena 11 Ashford Terrace jik@Athena.MIT.EDU Allston, MA 02134 Office: 617-253-8085 Home: 617-782-0710