AnsweredAssumed Answered

expect command not working

Question asked by Balling on Mar 13, 2018
Latest reply on Mar 29, 2018 by Andy_Thompson

Hi All,

 

I am trying to run an expect script using SSH Command operator. Providing 'y,y,y,y,y,y' as answers to the script.

 

for {set x 0} {$x<6} {incr x} {
expect "Proceed \[y\/N\]:\r"
send -- "y\r"
}

 

We are having issue the SSH operator exits before it accepts all answers and proceeding with the process.

 We are not seeing any error against it.

 

Thanks,

Amala

Outcomes