On Jun 6, 2012, at 16:31 , Prajwal Kumar wrote:

> Marc Heiler wrote in post #1062746:
>> Possibly via Popen?
>>=20
>> http://www.ruby-doc.org/core-1.9.3/IO.html#method-c-popen
>>=20
>> Or Kernel exec.
>=20
> Thanks Marc!!!
>=20
> I tried the below code:
>=20
> f =3D IO.popen("C:/WINDOWS/system32/telnet.exe")
> puts "Parent is #{Process.pid}"
>=20
> Its opening the Telnet.exe, but how will send and receive commands on=20=

> the opened Telnet?

Marc gave you exactly what you need to move forward.=20

At some point in time, you're going to need to actually learn ruby. I =
suggest finding a book or online resource that works for you and reading =
it. Twice.