expect脚本执行后报错;如下内容autosu.sh:line3:spawn:commandnotfoundcouldn‘treadfile"password:":nosuchfileordirectoryautosu.sh:line5:send:commandnotfoundautosu.sh:line6:interact:commandnotfound说明执行方式不正确,因为expect用的不是bash所以会报错。执行的时候..
分类:
其他好文 时间:
2017-08-22 00:41:34
阅读次数:
499