Linked Questions

Popular Questions

Printing send_user to a log.file

Asked by At

I need to save only send_user to a logfile How to have if statement inside expect.. ie...if expect doesnt matches how to have other conditions

log_file logfile.log send -- "pwd\n" expect "tmp/file" { send_user "Correct Directory" send "exit\n" }

Related Questions