gecko/testing/sisyphus/bin/hdiutil-expect.ex
2007-06-12 08:46:42 -07:00

10 lines
126 B
Elixir
Executable File

#!/usr/bin/expect
spawn hdiutil attach $argv
expect {
"byte" {send "G"; exp_continue}
"Y/N" {send "Y\r"; exp_continue}
}