ActiveState Powered by ActiveState

ActiveState Community


Facing problem in using 'spawn' with windows

Posted by srikanth on 2008-05-13 02:15
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 | Wed, 2008-05-28 12:30

Note that Expect has some requirements that the right dlls are used. See more at

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

and there are also some new test dlls to address DEP issues noted here:

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

ericlrl | Fri, 2008-07-11 01:21

I encountered the same problem in most of the Core 2 Duo machines. But, it always works fine older ones.
Waiting for new version to fix.

ericlrl | Fri, 2008-07-11 02:43

The new test dlls works! Great!

-->