unix C++ create process with redirecting stdin and stdout
Posted on 2008-06-13
hi - new to unix dev, i have this working in windows since you can specifiy handles to stdin and stdout when calling CreateProcess API. In unix i see there is popen, but its only one way. I want to be able to read and write to this process. The project is automated telnet, so i want to create a telnet process, and then read in the stdout from that process, and respond to certain events.