Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
dharmab
· 7y ago · 0 comments
Expect is an amazing tool for dealing with old hardware that _insists_ on interactive prompts instead of CLI flags.
Comments
[–]
rikkus
7y ago
And modern software that does the same. Cisco AnyConnect VPN thing, for example. You can feed it a command file, but that doesn’t give you any error handling or logic to handle dynamic responses. Expect to the rescue!
[–]
oefrha
7y ago
Also great for automated tests of interactive functionality in your own projects.