9

Expect Send Script hang after execting all steps

view full story
linux-howto

http://stackoverflow.com – I need your help. I am trying to call a expect script from sh script. My sh script named "installscript.sh" is: #!/bin/bash echo "Setting Variables" PATH=$PATH:/usr/local/ODI/ostore/bin OS_ROOTDIR=/usr/local/ODI/ostore export OS_ROOTDIR LD_LIBRARY_PATH=$OS_ROOTDIR/lib:$LD_LIBRARY_PATH export LD_LIBRARY_PATH echo "calling Expect Send script" /tmp/Expect_Send_InstallationScriptPart2.exp echo "completed" exit 0 my expect script named "Expect_Send_InstallationScriptPart2.exp" is: #!/usr/bin/expect -f cd $env(OS_ROOTDIR)/bin spawn ./osconfig server expect "*Is t (HowTos)