Since you need to load a new executable, why not just start it in a new process rather than duplicating the current one first?
Well, I was thinking about Unix systems where calling fork & exec is the standard (and sometimes only) way to start a new process. On Windows, you are right, it will be quite inefficient.
In reply to Re^6: forks for running multiple codes at same time
by salva
in thread forks for running multiple codes at same time
by adamquestion
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |