From: hackandg Date: 2013-02-08T11:59:42+09:00 Subject: Re: testing console installation with ruby - quick question --90e6ba5bba1d8c9bdd04d52dbf69 Content-Type: text/plain; charset=ISO-8859-1 ruby -v It will return the ruby version or command not found in windows. On Thu, Feb 7, 2013 at 6:22 PM, z. w. wrote: > Hi All > > We're new to ruby. > Apologize ahead if this is too simplistic. > We have a windows executable application to install. > We tried with Expect script; it didnt work because the executable spawns > a new console window and cygwin cant find the application to execute. > > We like to know if there's simple examples for us to teach us on how to > test our installation program via console on Windows Server 2008 64 bit > box. > In other words, when this below is executed in a windows shell > abc.exe -i console > > the new console window pops up with text messages. > We like to use what Expect could do, ie send and get messages back and > forth to validate our install test. > > Any help is appreciated. > Thanks > > -- > Posted via http://www.ruby-forum.com/. > > --90e6ba5bba1d8c9bdd04d52dbf69 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable ruby -v

It will return the ruby version or command not f= ound in windows.

On Thu, Feb 7, 2013 at 6= :22 PM, z. w. <lists@ruby-forum.com> wrote:
Hi All

We're new to ruby.
Apologize ahead if this is too simplistic.
We have a windows executable application to install.
We tried with Expect script; it didnt work because the executable spawns a new console window and cygwin cant find the application to execute.

We like to know if there's simple examples for us to teach us on how to=
test our installation program via console on Windows Server 2008 64 bit
box.
In other words, when this below is executed in a windows shell
abc.exe -i console

the new console window pops up with text messages.
We like to use what Expect could do, ie send and get messages back and
forth to validate our install test.

Any help is appreciated.
Thanks

--
Posted via http://= www.ruby-forum.com/.


--90e6ba5bba1d8c9bdd04d52dbf69--