Assuming I've got these two facts right :-
CreateProcess()
starts a process and lets your program continue while it runs, but when your program finishes, the child process goes down with it. Furthermore, your program has to take note of when the child process exits so that it can properly release the process handle.
system()
starts a process, waits for it to complete then continues with your program.
- what I need to know is how to start a process and let it run independently of my program, and persist after my program exits. I don't need to capture its output or have any further control over it, I just want to let the user interact with it - like say I wanted to write an alternative to the Start Menu Run command.
So is it, please, actually possible to do that?