How to set a value to a global variable?

HI,

I want to set a global variable created in the installation tab from an external process.

Which communication interface should I use? I was able to set through script command but the program which was running is stopped.