#!/usr/bin/expect set timeout 10 set install_dir [lindex $argv 0] set horde_path [lindex $argv 1] spawn $install_dir/pear/pear -c $install_dir/pear.conf run-scripts horde/horde_role expect "Filesystem location for the base Horde application" send "$horde_path\r"; interact