一、安装except
1.1 安装依赖tcl
|
|
1.2 下载并安装except
|
|
二、用法
2.1 概述
|
|
2.2 常见用法
- 开启子程序
|
|
- 自动交互
|
|
注意事项
-
用
#!/usr/bin/expect
作为开头 -
expect
文件以.exp
作为后缀
except
tcl
|
|
except
|
|
|
|
|
|
|
|
用#!/usr/bin/expect
作为开头
expect
文件以.exp
作为后缀