expect 自動輸入選項 自動輸入數字 - Linux

Table of Contents


Hi

cat test.exp
=================================================
#!/usr/bin/expect -f
spawn ./MG
expect "Which programs do you want to run?"
send "0\n"
=================================================

Hope it's can help you

--

All Comments