I'm trying to create a program where it starts another .exe and itself just closes after the other program has started.
I currently have the following code:
#include <cstdlib>
int main( )
{
std::system( "checkpoint.exe" );
}
I can get checkpoint.exe
to start, but the starter program itself doesn't close until checkpoint.exe
closes. How would I get around this?