Jump to content
Sign in to follow this  

When calling python.ExecFile a second time it takes long

Recommended Posts

I have a script, and when calling python.ExecFile(script), it will take 235ms to execute.

Calling it the 2nd. or more times, it always takes a little more than 4 seconds to come back from the ExecFile function.

Do you have any clue why that could be? Is there anything to reset something before calling the ExecFile again I need to know about?

Share this post

Link to post

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