2016-11-17 33 views

回答

3

你必須等待第一個產卵編輯過程完成:

spawn /bin/bash test1.sh 
expect eof 

spawn /bin/bash test2.sh 
interact