mirror of
https://gitlab.com/walljm/dynamicbible.git
synced 2025-07-25 16:29:49 -04:00
14 lines
210 B
Bash
14 lines
210 B
Bash
#!/usr/bin/expect -f
|
|
|
|
set timeout 1800
|
|
set cmd [lindex $argv 0]
|
|
set licenses [lindex $argv 1]
|
|
|
|
spawn {*}$cmd
|
|
expect {
|
|
"Do you accept the license '*'*" {
|
|
exp_send "y\r"
|
|
exp_continue
|
|
}
|
|
eof
|
|
} |