In my c++ apps, I need to run several bash scripts. (sometimes regular system calls, i.e "shutdown" , "rm").
When using the "system" call, it forks a new process.

Is there a way to call "system" without forking a new process ?