using createProcess and CREATE_NEW_CONSOLE

Jun 23, 2005
30
0
0
Hi All,
I am writing an app that spawns several instances of another program to manipulate USB devices. My main program needs to wait on the children to finish each 'round' before it can start the next one. I can successfully spawn the apps, but all the output is written to the parent console window. I understand that there is a way to spawn children in their own console windows, but I cannot get it to work. Any suggestions?

I am writing in C++ using createProcess. Thanks in advance :)