ActiveState Powered by ActiveState

ActiveState Community


Problem in using spawn with windows

Posted by srikanth on 2008-05-13 02:13
OS: Windows

I'm running Tcl 8.4 (with Except) and testing a script that telnets to my router. When I telnet directly using the Microsoft client everything works fine. But when i 'spawn telnet $ipaddr' inside the script and do expect "Username: ", it seems to hang for a minute and a window pops up with the message "Tchsh encountered unexpected problem and would like to close". Any help would be appreciated. Thanks in advance.

jeffh | Fri, 2008-05-23 15:04

See the expect mailing list for more in the dependency issues for having Expect work on Windows.

http://aspn.activestate.com/ASPN/Mail/Browse/Threaded/expect

In particular, this thread:

http://aspn.activestate.com/ASPN/Mail/Message/expect/3591575

-->