I have just compiled expect 5.44.1 against tcl8.4.14 on AIX 5.2. When I run a script that automatically exist expect hangs.
So for example the following script will hang when exit is executed.
# spawn sftp -b [lindex $argv 0] email@example.com
spawn sftp firstname.lastname@example.org
expect "email@example.com's password: "
send -- "jac.Password\r"
# interact timeout 60
While the following script will not hang
Also when the script hangs expect does not show up in a ps -ef listing which indicates that it is not returning control to the terminal properly.
Any help would be appreciated.
I down graded to expect 5.43 and still the same problem
Log in to post a comment.