Cannot 'cleartool setview' in a shell process opened with Perl IPC::open2

前端 未结 1 1887
梦谈多话
梦谈多话 2020-12-19 23:36

I am creating a Perl script that, among other things, sets into a ClearCase view, sources an environment, and runs synthesis tools, and finally post-processes output reports

相关标签:
1条回答
  • 2020-12-20 00:19

    As I mention in the answer you saw "Python and ClearCase setview", using setview in a script is generally not a good idea.

    The only solution I know is two make 2 scripts:

    • one which ensure that setview is done, and /vobs/xxx refers to the right vob in the right view
    • one which will use /vobs.

    Trying to do all in one step will mostly fail due to the sub-shell launched by setview.

    0 讨论(0)
提交回复
热议问题