#!/usr/bin/expect
spawn ./init
expect "Which environment do you want the application to be initialized in?"
send "0
"
expect "environment"
send "y
"
expect "overwrite"
send "a
"
expect "completed"
interact
#!/usr/bin/expect
spawn ./init
expect "Which environment do you want the application to be initialized in?"
send "0
"
expect "environment"
send "y
"
expect "overwrite"
send "a
"
expect "completed"
interact