Welcome to mirror list, hosted at ThFree Co, Russian Federation.
1 2 3 4 5 6 7 8 9 10 11 12 13 14
#!/usr/bin/expect -f set timeout 1800 set cmd [lindex $argv 0] set licenses [lindex $argv 1] spawn {*}$cmd expect { "(y/N)" { exp_send "y\r" exp_continue } eof }