Jump to content

How to execute code "synchronously" or know when script is done?

Recommended Posts

Posted (edited)

The GUI examples work fine for demonstration purposes, but how do I use the components to execute python code and get a result within my own code, i.e synchronous execution, or be notified when execution is done?


S := PythonExec(input_script)


Then I can use S in next line of code, or in an event that notifies script is done.


Edited by RaelB

Share this post

Link to post

By bad, it looks like the code does in fact execute synchronously..

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