Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: system("start ...") has 30 secs delayby Madams (Pilgrim) |
on Jul 13, 2005 at 02:19 UTC ( [id://474439]=note: print w/replies, xml ) | Need Help?? |
"start" is a feature of cmd.exe. Therefore XP/NT/2000 run a cmd.exe session to handle the pathing and associating instead of handling it in kernel. Your delay is caused by the startup of cmd.exe. If your load is small, so is your delay. (Provided the scheduler doesn't decide to bump a service in ahead of starting your new process) "All too often people confuse their being able to think with their actually having done so. A more pernicious mistake does not exist." --Moraven Tollo in Michael A. Stackpole's A Secret Atlas
In Section
Seekers of Perl Wisdom
|
|