#!/usr/bin/expect -f
set timeout -1
spawn  qsub -N SAS -I -X -q interactive 
expect -ex "sh-3.1$ "
send "sas\r"
expect -ex "sh-3.1$ "
#wait
exit
