How to run system commands like copy or move in ocean script

Status
Not open for further replies.

pd

Full Member level 1
Joined
May 23, 2006
Messages
99
Helped
5
Reputation
10
Reaction score
3
Trophy points
1,288
Location
India
Activity points
2,243
I want to know how to run system commands like copy or move in ocean script. I see some system commands "ls" working in ocean too. But "mv" or "cp" don't work out. Is it possible to pass the normal system commands in ocean script itself?
Eg. in perl scripting language we use the system() command to do similar job. Does similar featureexist in ocean scripting language?
Thanks,
-pd
 

Re: How to run system commands like copy or move in ocean sc

pd said:
... Is it possible to pass the normal system commands in ocean script itself?
Eg. in perl scripting language we use the system() command to do similar job. Does similar feature exist in ocean scripting language?
Don't think so. Nothing mentioned in the OCEAN reference.
 

You might be better off using a scripting language to generate and
run the Ocean deck (or N of them), as well as handling system stuff.
 

Re: How to run system commands like copy or move in ocean sc

You might be better off using a scripting language to generate and
run the Ocean deck (or N of them), as well as handling system stuff.
Yeah...I agree...by doing
Code:
ocean < input_code.ocn
multiple ocean scripts can be run along with the system commands. But, each time an ocean command is run it takes a lot of time to invoke the ocean environment. It goes through all the process that is executed while invoking cadence I guess. Is there a way to avoid that. Once it starts it should not invoke cadence initialization procedure again.
Thanks,
-pd
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…