News for hackers. Stuff that matters.
Re:Sh.py by Sidnicious on Sunday September 16, 2012 @09:43PM (#4531009)
So, this feature:

http://amoffat.github.com/sh/index.html#interactive-callback...

Lets you replace `expect` with Python code pretty darn easily.

Re:Sh.py by bryogenic on Sunday September 16, 2012 @10:50PM (#4531154)
why not use pexpect, it has worked great for me in the past.

http://www.noah.org/wiki/pexpect

Re:Sh.py by playhard on Monday September 17, 2012 @03:47AM (#4531626)
+1 for pexpect. it is very handy to automate user inputs
Re:Sh.py by subhobroto on Sunday September 16, 2012 @09:47PM (#4531026)
+1, and this can be complimentary to fabric like scripts too to make pretty powerful scripts!
Re:Sh.py by jonpaul on Sunday September 16, 2012 @10:43PM (#4531141)
Shameless plug, I wrote an `expect` replacement utility in Node.js: https://github.com/jprichardson/node-suppose