TCL + Expect Windows 8 64-bit -


i want use tcl expect @ windows 8 64-bit os i've installed 32-bit version of tcl activestate, installed expect via teacup, , use 32-bit version of plink (cause native windows telnet client doesnt work). testing scripts actully work, print no output console, run silently.

here example

package require expect log_user 1 spawn plink -telnet -p 2001 10.10.10.100 send "conf t\r" send "hostname yyyy\r" send "int loo100\r" send "int loo101\r" send "int loo102\r" send "exit\r" 

if run directly shell command command receive number after spawn. please, @ screenshot.

screenshot

what problem ? tnkx


Comments

Popular posts from this blog

inversion of control - Autofac named registration constructor injection -

verilog - Systemverilog dynamic casting issues -

ios - Change Storyboard View using Seague -