阅读背景:

子调用exec()后使用pipe()

来源:互联网 

My end goal is to have a parent process pass lines of text to the child, then the child process will print the text to stdout. The child is to run "permanently" in the back ground while the parent gets user input and pass's it to the child. I prefer the child in a separate program. Differentiating between child and paretn through if statements is messy as fudge. My end goal is to have a parent process pass li




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: