I have to execute some commands after executing one command ( cleartool setview Tagname)
Problem is that I write commands in script like this.
echo "test1"
cleartool setview tagname
echo "test2"
copy file1 file2
echo "test3"
but when I execute script.
Output
---------
test1
If I type exit, it prints
test2
test3
problem here is cleartool setview is creating new child shell and it doesn't come out from child shell unless I type exit .
pls could you help , to execute thise commands and come out of the child shell successfully
RTM
2
It's not the shell, it's the clearview commands.
Clearcase setview
Try it with the -exec