From: nobu.nokada@... Date: 2004-03-30T19:13:06+09:00 Subject: Re: wrapping interactive console program in Windows Hi, At Tue, 30 Mar 2004 15:09:15 +0900, Edward Middleton wrote in [ruby-talk:96102]: > |> |> I am trying to write a wrapper for a program with an interactive > |> |> shell, | | | You might want to look at rexpect.rb or expect.rb. > |> I think expect.rb | is distributed with Ruby, rexpect.rb is > |> available on rubyforge. > |> > |> I thought of that but It is not apear to be included with the > |> windows version I have installed. Is there a windows version with > |> expect support? > | > | > | Windows doesn't pty support. I'd like to know how to create pseudo > | console on Windows, if it were possible. > > I think this is how to do it. > > http://msdn.microsoft.com/library/en-us/dllproc/base/character_mode_applications.asp I didn't mean how to use console, but how to provide console features to subprocess from a process. -- Nobu Nakada