We don't bite newbies here... much | |
PerlMonks |
Re^6: forks for running multiple codes at same timeby salva (Canon) |
on Feb 09, 2009 at 10:45 UTC ( [id://742393]=note: print w/replies, xml ) | Need Help?? |
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 Section
Seekers of Perl Wisdom
|
|