Home > Community > Forums > Custom IC SKILL > can we use unix enviorment variables in stream in deck file ?

Email

* Required Fields

Recipients email * (separate multiple addresses with commas)

Your name *

Your email *

Message *

Contact Us

* Required Fields
First Name *

Last Name *

Email *

Company / Institution *

Comments: *

 can we use unix enviorment variables in stream in deck file ?  

Last post Wed, Jun 13 2007 6:08 AM by archive. 1 replies.
Started by archive 13 Jun 2007 06:08 AM. Topic has 1 replies and 1328 views
Page 1 of 1 (2 items)
Sort Posts:
  • Wed, Jun 13 2007 6:08 AM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,930
    can we use unix enviorment variables in stream in deck file ? Reply

    I am new to Skill, Tcl and shell are my scritps language, but there is one thing have no choise but Skill

    I use pipo to stream in/out design data

    streamInKeys = list(nil
      'libName  "TBD"
    ....

    I'd like to set the lib Name in the Unix shell, just like
    setenv cellName TBD

    How can we use this user defined variable in the template deck file
    I notice that we can get the value of cellName by getShellEnvVar("cellName")
    And the question is who can we tell let the tool know the the 'libName is what I set in my shell command line?



    Originally posted in cdnusers.org by aidans
    • Post Points: 0
  • Wed, Jun 13 2007 6:53 AM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,930
    RE: can we use unix enviorment variables in stream in deck file ? Reply

    The following syntax will work in the temlate file:

    streamOutKeys = list(nil
    'runDir "."
    'libName "mylib"
    'primaryCell getShellEnvVar("CELLNAME")
    'viewName "layout"

    -Derek


    Originally posted in cdnusers.org by dmay
    • Post Points: 0
Page 1 of 1 (2 items)
Sort Posts:
Started by archive at 13 Jun 2007 06:08 AM. Topic has 1 replies.