Hi,
I am writing a CppUnit test framework, and I need to execute system commands. Each of the commands will take about 5 minutes to complete, and I need to wait for the results. I was going to use a fork(), and then execute the command and wait for this process to complete. The problem is that this will only work on linux, and I need to be able to run the tests under windows. It would be helpful if I didnt have to change the tests for windows and linux. Does anyone know a way to execute system commands and wait for the command to complete on both windows and linux?
Thanks in advance
Mark