Here is my problem - I have a multi-threaded (pthreads) C++ application in which I have a main control loop thread, and 3 data acquisition threads (one serial port reader/writer and two TCP socket connection threads). At certain points during the program I need to execute a shell script. I have done a fair bit of research and see that Here is my problem - I have a multi-threaded (p