Hi, I am looking to kick off multiple homegrown C++ applications in a linux environment. I also need to monitor the applications and restart them if they die.
Ideally I would loop threw a list of applications forking and exec them. I am having trouble returning from the first execv call. (I have not implemented the loop to run the multiple applications - Taking this one step at a time.) Am I going about this right? Should I be using fork and exec? Is there a better way to start and monitor the applications?