Marc Heiler wrote in post #1062746:
> Possibly via Popen?
>
> http://www.ruby-doc.org/core-1.9.3/IO.html#method-c-popen
>
> Or Kernel exec.

Thanks Marc!!!

I tried the below code:

f = IO.popen("C:/WINDOWS/system32/telnet.exe")
puts "Parent is #{Process.pid}"

Its opening the Telnet.exe, but how will send and receive commands on 
the opened Telnet?

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