in reply to How can I control interactive cli executables on Windows from Perl

You should be able to use open APP,"|/some/command";, IPC::Open3, Expect or Win32::GuiTest (because I think the windows telnet client isn't a command-line program at all).

  • Comment on Re: How can I control interactive cli executables on Windows from Perl
  • Download Code

Replies are listed 'Best First'.
Re^2: How can I control interactive cli executables on Windows from Perl
by gellyfish (Monsignor) on Mar 30, 2005 at 15:56 UTC

    Nah, the standard windows telnet client is most definitely a console Application.

    /J\

      console application yes, but command-line? It doesn't work with STDIN/STDOUT so some of the suggestions above will probably not work (piped open, open3).

      Your best bet is probably Win32::Console, since it allows you access to reading the screen buffer and the keyboard control events.