hi..
i am using sendCommand to send any user command to another server by running tcl program.
no i want to send some integer number and have to send "enter" command. any one can help me.
for example.
you are in server A and logging to server B by tcl program. now your server B have to receive "1" as option to continue further, so
expect "PRESS INTEGER 1 TO CONTINUE: -----"
sendCommand "1\n"
the above code not working in tcl. so please suggest me.
regards
tcltest
i am using sendCommand to send any user command to another server by running tcl program.
no i want to send some integer number and have to send "enter" command. any one can help me.
for example.
you are in server A and logging to server B by tcl program. now your server B have to receive "1" as option to continue further, so
expect "PRESS INTEGER 1 TO CONTINUE: -----"
sendCommand "1\n"
the above code not working in tcl. so please suggest me.
regards
tcltest