Lookout

cancel
Showing results for 
Search instead for 
Did you mean: 

How to "reopen" a process remotely.

After editing a client process, how can I have the active clients "reopen" the process to take advantage of the change(s)?
0 Kudos
Message 1 of 3
(2,731 Views)
____________________________________



Here's a suggestion: you can have one "manager" process on all your clients. This would check for a "signal" from the Server (or other processes) using the Monitor object. And based on the "signal," it can load and unload a process using the "Loader" object.

As you might have guessed by now, "Reopening" a process would essentially be unloading the process and loading it back again.

I am not sure of the exact scenario you have.. so please write back with more details if I was way off!

Hope this helps,

Khalid 🙂




________________________________________
0 Kudos
Message 2 of 3
(2,731 Views)
Sometimes the simple answers are the ones we miss. After your input and several min. of shaking my head, I built a process "ClientLoader" with loader running under it. Loader looks at a oneshot running on the server process. If the oneshot is TRUE, the the client process unloads, and when the oneshot is finished, the client process loads, in this case with the updated client process.

Thanks again Khalid, for the help, and the brain jarring. 🙂
0 Kudos
Message 3 of 3
(2,731 Views)