views:

193

answers:

4

I am searching for a tool that behaves similarly to Unix's expect tool (or at least, its main function).

I want to automate command-line interactive programs with it.

EDIT: I am preferring single executables or small apps without big multi megabyte depencies.

Ty.

A: 

I guess AutoIt is what you need.

Helen
AutoIt/AutoHotKey can't expect things from console apps.They are GUI automation tools. Plus AutoIt is slow as hell.
majkinetor
A: 

I your familiar with expect, then why not install Cygwin and run it that way?

brianegge
because i need to install cygwin.
majkinetor
+4  A: 

Take a look at ActiveState's Tcl distribution which has a port of Expect for Windows.

ars
A: 

You could use pexpect with WExpect (A port of pexpect to windows).

jjclarkson