I want to run a DOS command in my C++ program. The point is that I want my program stops while the DOS command is executed. I have used "System" API. My question is "Does 'system' make a new thread/process to run the DOS command in it or it just stops the program until the command is done?" If it creates a new process, how can I stop the program while 'system' is running?
Thank you so much, Shadi.