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
shell
popen