I am trying to run a script on a remote system using the telnet module. The remote system runs the script but returns control immediately (or after the wait time set) to the telnet module. It does not wait for the script to terminate. Instead, I have to wait for the script to terminate. User needs to run other telnet commands in sequence, but only after this command has finished.
Why is this problem happening ? and how can I overcome this ? Please suggest your ideas regarding the same...
Bookmarks