C++ main calling execvp function gives error when calling ls or ls -l

后端 未结 0 1738
旧巷少年郎
旧巷少年郎 2021-01-24 09:32

I have to compile a main.cpp that is a minishell and handle functions like ls, ls -l, pwd, cat etc. for that is use fork and exec but i am stuck now. child and parent process ru

相关标签:
回答
  • 消灭零回复
提交回复
热议问题