How to keep a shell open and keep writing to it with multiple bash commands in C++?

后端 未结 0 1765
鱼传尺愫
鱼传尺愫 2021-01-20 23:23

I know how to run a bash command in C++ but how can I open a shell with popen but continue running different bash commands one by line not using

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