pipe for adding UI on console program
Pipe is uni-direction.
If i establish 2 pipes for input and ouput of THE SAME console program, is it a good idea for adding UI on console program? ( This idea is stupid but workable , isn't it? ) UI -> pipe1 -> console program <- pipe2 <- the same console program But , I don't know how to attach pipe1's output and pipe2's input to the same console program... >_< Many examples in internet are just uni-direction. Could someone give me an bi-direction usage example? Thank you very much. |
"But , I don't know how to attach pipe1's output and pipe2's input to the same console program... >_<
Many examples in internet are just uni-direction. Could someone give me an bi-direction usage example?" I recommend you establish 2 pipes. It is possible to create both half duplex and full duplex pipes. In my opinion the logic flow for two different half duplex pipes is easier than the logic flow for a full duplex pipe. ---------------------------- Steve Stites |
All times are GMT -5. The time now is 03:52 AM. |