#!/usr/bin/expect set timeout 5 set mysql_password [lindex $argv 0] spawn /var/www/seafile/seafile-server-4.3.2/upgrade/upgrade_4.3_4.4.sh expect "to contiune" send "\r"; interact