How to write to stdin of execved process?

前提是你 提交于 2019-12-04 09:33:17

You will need to fork the execve call into a child process and then create a pipe from the parent process to the child's stdin.

Take a look at this link for a detailed example on how to use pipes: http://tldp.org/LDP/lpg/node11.html

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!