Normally when I want to run a executable from a c++ code. I just use the code:
system("path\to\the\executable param");
Now, I want to run the executable file in parallel. I use 2 threads. The first thread will call:
system("path\to\the\executable param1");
The second thread will call:
system("path\to\the\executable param2");
However it doesn't run in parallel as I expect.
Is there in way to solve this?