1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/pgadmin_ynh.git synced 2024-09-03 19:56:38 +02:00
pgadmin_ynh/conf/setup.exp

21 lines
297 B
Text
Raw Normal View History

2017-11-16 21:10:21 +01:00
#!/usr/bin/expect
set timeout 10
set cmd [lindex $argv 0]
set path [lindex $argv 1]
set user [lindex $argv 2]
set password [lindex $argv 3]
spawn $cmd $path
expect "Email address:"
send "$user\r";
expect "Password:"
send "$password\r";
expect "Retype password:"
send "$password\r";
interact