how can i open other .exe new console?

Main console: qwer.exe
Secondary console: asdf.exe

System(c:\\asdf.exe);

I wanna open this asdf.exe new console. Not in the qwer.exe.
If you want your program to wait until the other program terminates:

system( "start /WAIT C:\\asdf.exe" );

If you want your program to continue normally after starting the other program:

system( "start C:\\asdf.exe" );

Hope this helps.
Topic archived. No new replies allowed.