Page 2 of 2

Re: RunProcess and Process Ends msg

Posted: Mon Feb 10, 2020 12:28 pm
by HyunaHyuna
PavoGa wrote: Fri Feb 07, 2020 7:00 pm Since RunProcess operates by opening a separate thread, it has no connection to the Session or Global variables declared in the master process.
Thank you kindly for this confirmation of my suspicions! I will do further research into how exactly global variables operate, to avoid being surprised by such events in the future.

For now, I have created a small cube where I write these session variables instead of declaring them as global, and that seems to be a good workaround for me.

Re: RunProcess and Process Ends msg

Posted: Thu Dec 02, 2021 1:00 pm
by mce
I use synchronized function for the same requirement.

Re: RunProcess and Process Ends msg

Posted: Mon Dec 06, 2021 10:08 pm
by PavoGa
mce wrote: Thu Dec 02, 2021 1:00 pm I use synchronized function for the same requirement.
I use SYNCHRONIZED a lot as well, but how does it stop the message "Process Finished" from the master process?