The difference is the flags used on the CreateProcess() call underlying the different methods of creating a child process. You cannot change them from your application.
The simplest way for you to ensure your child processes are cleaned up if your parent is interupted is to install a signal handler for each possible interupt signal and use kill to forward the interrupt before allowing the parent to die.
In reply to Re: Child process lingers after keyboard interrupt on Windows
by BrowserUk
in thread Child process lingers after keyboard interrupt on Windows
by toughy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |