Control-c: send \003
set timeout 5:变量赋值
发布者:全栈程序员-站长,转载请注明出处:https://javaforall.net/229763.html原文链接:https://javaforall.net
expect教程新建文件 data software expect expect 5 43 bin expect fseta lindex argv0 spawnvi asend i send Thisisatest send 033 nbsp nbsp nbsp 输入 escsend wq n 注意回车 send 后面的内容分两行也可以输出回车 缺点是结果带换行符
Control-c: send \003
set timeout 5:变量赋值
发布者:全栈程序员-站长,转载请注明出处:https://javaforall.net/229763.html原文链接:https://javaforall.net