Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

sendCommand to send integer

Status
Not open for further replies.

tcltest

Programmer
Dec 12, 2011
12
US
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

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top