Re: Expect - Solaris 2.8
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.tcl archive

Re: Expect - Solaris 2.8

From: Jeff Hobbs <jeffh@activestate.com>
Date: Wed Jan 04 2006 - 17:00:03 CET

alf wrote:
> The following script was created to automate the installation of a
> software program running in the Solaris 2.8 environment. Script
> partially works, but fails to exit back to the shell after completing
> the software installation. How do I get the script to exit back out
> to the shell?

> ripken1# more expect.test
> #!/export/opt/expect/5.39.0_B0/bin/expect -f
        ...
> send "exit\r"
> expect eof #It hangs at this point and will not exit.
> I have to send
> #a Cntrl C to break out of it.

You are using 5.39, whereas 5.43 is the latest. I know that some
eof changes were made since then, but can't recall if they
specifically address the above issue.

-- 
   Jeff Hobbs, The Tcl Guy
   http://www.ActiveState.com/, a division of Sophos
Received on Tue Jan 17 14:54:36 2006