madhero
Newbie level 3
ocean script cadence
There are two ways to load a ocean script
1. ocean < oceanscript.ocn
but it quits the ocean environment immediatly after executing the script
2 ocean
load "oceanscript.ocn
This can retain in the environment, but need user to type the "load" command
I want to use a way like the first method, but without quitting the environment. Because there's a GUI developed in the script, I don't want to quit it before clicking any buttons...
And I don't want to use the 2nd method either, because I want the script is generated and called automatically.
How can I do it? Or how can I create a GUI tool for using cadence especially Spectre? Thank you!
Added after 35 minutes:
After searching and searching, I finally found the answer to my own question...
The right way to meet my need is:
ocean -restore oceanscript.ocn
There are two ways to load a ocean script
1. ocean < oceanscript.ocn
but it quits the ocean environment immediatly after executing the script
2 ocean
load "oceanscript.ocn
This can retain in the environment, but need user to type the "load" command
I want to use a way like the first method, but without quitting the environment. Because there's a GUI developed in the script, I don't want to quit it before clicking any buttons...
And I don't want to use the 2nd method either, because I want the script is generated and called automatically.
How can I do it? Or how can I create a GUI tool for using cadence especially Spectre? Thank you!
Added after 35 minutes:
After searching and searching, I finally found the answer to my own question...
The right way to meet my need is:
ocean -restore oceanscript.ocn