2 ms·
How does run compare with expect[1]? 1: http://manpages.ubuntu.com/manpages/bionic/man1/expect.1.html http://manpages.ubuntu.com/manpages/bionic/man1/expect.1.
by blacksmith_tb 7y ago
How does run compare with expect[1]?
1: http://manpages.ubuntu.com/manpages/bionic/man1/expect.1.html http://manpages.ubuntu.com/manpages/bionic/man1/expect.1.htm...
- deleted 7y ago[deleted]
- TekWizely 7y agoGreetings! I would say that expect is quite a different beast entirely. I think of expect more as an interactive scripting language. Something you might use in place of bash to write a small script that requires user interaction. Run is more of the tool you might use to organize your expect / bash / etc. scripts and easily invoke them. Pretty much every dev I know has used makefiles as a means to organize small, non-build-related, scripts and shell wrappers. Run hopes to be a better tool for doing that. Thanks for the question - I hope that helped - Please let me know if you have any other questions or comments.
- chabad360 7y agoExpect is designed for an entirely different use case, it can "talk" to other interactive programs following a script. Run is intended to act as a replacement for using Makefiles as scripts (and is super awesome at that too). Basically, you'd find yourself using Expect inside a Runfile.