PDA

View Full Version : alternatives to TCL/EXPECT for automation



qmqmqm
February 5th, 2009, 03:06 AM
Hi

I have been using TCL/EXPECT for automating interactive programs, especially installing programs to my unix boxes.

As a new relatively new user, I find that EXPECT generally good but has some quirky corners, such as hanging for a while for no obvious reasons, terminating during telnet sessions, etc. Also, when executing a slightly different program, I have to dig into the automation code and make adjustments in the code and then trial and error running the automation program. Just wondering if anyone has any suggestions, and/or recommendations of alternatives for automating interactive programs?

Thanks,

Tom

stevescripts
February 5th, 2009, 09:25 PM
Tom,

Personally, I would consider tcl and expect to be the ideal tools to use.

I am pretty sure that similar tools are available in Python, PERL, etc also.

While I am sure that there are other folks here that are quite competent with Expect, I am not among them. (I have only tinkered with expect)

Lots of Expect expertise available on comp.lang.tcl as an alternative.

Steve