I want to simulate bash in my Linux C program using pipes and execvp function. ... pipe read close(des_p[1]); //closing pipe write if(execvp(bash_args[0], ...
確定! 回上一頁