Taking Control of stdin/stdout of a slave process

Robert Duff rduff at evax.arl.utexas.edu
Thu Mar 14 02:37:56 AEST 1991


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?

Thanks In Advance

-------------------------------------------------------------------------------
Remeber the immortal words of Socrates       |  Robert Duff
who said:                                    |  Automation & Robotics Research
          "I Drank WHAT!?"                   |  Institute - (817) 794-5957
                              Chris Knight   |  rduff at evax.uta.edu



More information about the Comp.unix.wizards mailing list