Hi
I have faced the same problem. But when you put 'expect eof', a timeout occurs and the scripts just terminates. This doesn't happen with interact. Timeout cannot be -1 because if a remote server is hung, it will never timeout.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.