Skip to content

Instantly share code, notes, and snippets.

@tedwardd
Created May 3, 2016 20:25
Show Gist options
  • Save tedwardd/ff7647d18afe8ed0fae38dbbdef8b4d0 to your computer and use it in GitHub Desktop.
Save tedwardd/ff7647d18afe8ed0fae38dbbdef8b4d0 to your computer and use it in GitHub Desktop.
spawn perl vmware-install.pl
expect "Press enter to display it. "
send "\r"
expect -ex "--More--"
send "q"
expect "Do you accept? (yes/no) "
send "yes\r"
expect -ex "\[yes\] "
send "yes\r"
expect -ex "\[/usr/bin\] "
send "\r"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment