News for hackers. Stuff that matters.
Re:Expect – A tool for automating interactive applications by pielud on Thursday July 17, 2014 @08:32AM (#8047087)
For python, there's pexpect: http://pexpect.readthedocs.org/en/latest/
Re:Expect – A tool for automating interactive applications by klibertp on Thursday July 17, 2014 @10:13AM (#8047605)
Something similar for Lua: http://www.tset.de/lpty/
Re:Expect – A tool for automating interactive applications by chuto on Thursday July 17, 2014 @03:49PM (#8049782)
We used to use tcl expect before discovering pexpect. Cleaner syntax, fewer false positives, nothing but good experiences with pexpect.
Re:Expect – A tool for automating interactive applications by zwischenzug on Thursday July 17, 2014 @09:05AM (#8047253)
I used pexpect as a base technology for ShutIt:

http://ianmiell.github.io/shutit/

it really is 95% of tcl's expect functionality, much easier to debug and understand. I'm grateful it exists, and it's much under-used I think.

Re:Expect – A tool for automating interactive applications by emmelaich on Thursday July 17, 2014 @09:42AM (#8047435)
Nice.

I have a somewhat similar tool but it doesn't do much besides check for password expiry and do password changes.

It uses pexpect but also multiprocessing and multiprocessing.Queue. I built most of it before we started using Ansible at work, but it is still useful in those places where Ansible is clumsy.

Re:Expect – A tool for automating interactive applications by zwischenzug on Thursday July 17, 2014 @11:56AM (#8048212)
Interesting - where is Ansible clumsy?
Re:Expect – A tool for automating interactive applications by emmelaich on Wednesday July 30, 2014 @09:46AM (#8108052)
(just noticed this)

I was just sort of echoing your

    annoyed by the obfuscation and indirection of ...
Ansible's prime raison d'être is not remote execution but configuration management.
Re:Expect – A tool for automating interactive applications by rPawel on Thursday July 17, 2014 @10:07AM (#8047567)
It was great to see ShutIt during the last Docker London!
Re:Expect – A tool for automating interactive applications by zwischenzug on Thursday July 17, 2014 @12:00PM (#8048247)
Thanks! A previous similar talk is the first link here: https://www.youtube.com/user/ianmiell
Re:Expect – A tool for automating interactive applications by rPawel on Friday July 18, 2014 @05:23AM (#8052253)
Thanks. Good luck Shutit and 2048 scores! :)