The use scenario is that I want to load some ocean script from the CIW window with the syntax load("filename.ocn")
And in the ocean file, some system variable is quired, e.g. env(cellName)
However, I discovered that, if I defined the system variabler cellName after I launch virtuoso, then virtuoso cannot see this variable.
I would like to know whether what I observed is true and if true how to work around that.
Assuming you're talking about UNIX environment variables, then setting a UNIX environment variable will not affect any child process previously launched from the process where you set the env var - this is how UNIX works.
You can set a UNIX environment variable in SKILL using:
setShellEnvVar("THEVARNAME" "myvalue") ;
and getShellEnvVar("THEVARNAME") would retrieve.
Perhaps that's what you want?
I just tested it and indeed it did exactly what I want. Thanks for the information.