Jump to content
Sign in to follow this  
achen

the CPU utilization is very high when my au3 program call external program or cmd

Recommended Posts

achen

the CPU utilization become very high when my au3 program call external program or cmd

example code:

run(@COMSPEC & " /c (copy /z "srcfile dstfile" ,"",@SW_HIDE)

when run the script "run", the CPU utilization become very high. but if at the cmd line, the cmd "copy /z "srcfile dstfile" wont make the CPU utilization become very high. of course, if use "filecopy()" wont make the cpu utilization become very high too. but i want use the cmd line "copy", can you make the utilization become low?

thanks very much!!!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.