Linux期望脚本有时以“外部主机关闭连接”结尾,这是期望脚本或设备问题吗?
我正在运行CentOS 7.6
$ cat /etc/system-release
CentOS Linux release 7.6.1810 (Core)
这是回购中的Expect的最新版本。
$ expect -version
expect version 5.45
This is my code, I added some sleep because some times it fails without them, not sure why.
$ cat runCommands.exp
#!/u...