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.
The Windows port of Expect is also known to have issues with changes made to cmd.exe with Windows 8, 8.1, and Windows 10. The last patch for Expect fixed a problem on Windows 7, so that's the last version of Windows which is compatible with the Windows port.
Steps to start Expect on Windows:Go to Bin directory in Command prompt (Start > Run > Command > cd c:\Tcl\bin) Issue the command C:\Tcl\bin>teacup install Expect. Done!!
ActiveState Expect for Windows is a tool for automating access to interactive applications.
Expect is a UNIX scripting and testing utility which can be used with SSH-based applications, like the Oracle VM CLI. Expect scripts can have any file name suffix you like, though they generally have an .exp extension. This guide and the sample scripts use either the .sh or no extension on Expect script file names.
Take a look at ActiveState's Tcl distribution which has a port of Expect for Windows.
Late answer: Expect.exe, compiled with Go, running Lua-scripts. Fairly new, but does exactly what it is supposed to do. See https://github.com/zetamatta/expect/
Check the closed issues as well.
I guess AutoIt is what you need.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With