Forum: Ruby way to rexpect on windows

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Manish S. (Guest)
on 2006-01-31 14:41
(Received via mailing list)
Hi List,
I am using ruby mostly for running my watir (Web automation
tool written in ruby) scripts. However in this process I need
to login to unix box and carry out some task before proceding
with my test.

I could find rexpect module but it seems that works only on
*nix and not on windows.

I am not sure whether rexpect can work on windows. Can somebody
confirm? If rexpect is not the way, what would be solution
for login on to unix box and run some scripts there?

I also tried using cygwin on windows, but I am not sure how can
I run my watir scripts on cygwin along with rexpect?

Is this possible?
Any help in this regard will be appreciated.
Thanks and Regards,
M. Edward (Ed) Borasky (Guest)
on 2006-02-01 17:08
(Received via mailing list)
I'm pretty sure there's a "native" port of "expect" to Windows, if that
helps. Are you running "ActiveState" Tck/Tk or some other version?

Does "rexpect" run under CygWin? I've never tried it, but I'm pretty
sure the CygWin Tcl/Tk/expect works fine on Windows. And if you (or
someone else) figures out how to start up Internet Explorer (or for that
matter, Excel) from CygWin, I'd like to know -- it would be quite

Manish S. wrote:
> confirm? If rexpect is not the way, what would be solution
M. Edward (Ed) Borasky
This topic is locked and can not be replied to.