5 ms·
So, this feature: http://amoffat.github.com/sh/index.html#interactive-callbacks http://amoffat.github.com/sh/index.html#interactive-callback... Lets you repla
by Sidnicious 14y ago
So, this feature:
http://amoffat.github.com/sh/index.html#interactive-callbacks http://amoffat.github.com/sh/index.html#interactive-callback...
Lets you replace `expect` with Python code pretty darn easily.
- subhobroto 14y ago+1, and this can be complimentary to fabric like scripts too to make pretty powerful scripts!
- jonpaul 14y agoShameless plug, I wrote an `expect` replacement utility in Node.js: https://github.com/jprichardson/node-suppose https://github.com/jprichardson/node-suppose
- bryogenic 14y agowhy not use pexpect, it has worked great for me in the past. http://www.noah.org/wiki/pexpect http://www.noah.org/wiki/pexpect
- playhard 14y ago+1 for pexpect. it is very handy to automate user inputs