4 ms·
Expect is nothing short of a blessing for those who need to automate tools that actively resist automation. When some janky cli script decides to read the tty a
by rubicks 7y ago
Expect is nothing short of a blessing for those who need to automate tools that actively resist automation. When some janky cli script decides to read the tty and not stdin, I reach for expect.
- lcall 7y agoFor years I thought "I should learn to use expect...", and finally I used it for ~ integration tests for a project (http://onemodel.org http://onemodel.org - my AGPL, highly efficient desktop- and keyboard-oriented personal knowledge organizer that I use every day, slow progress lately but lots of plans...), and: expect is very useful, and has depth.