in reply to Equivalent of spawn_pty in ActivePerl.

Ttys and ptys are *NIX / POSIX creatures, so I'd be very doubtful that there's going to be anything for manipulating them in the Win32 Perl. The only reason Cygwin has them is because it's emulating a more POSIX-y environment. Perhaps something like Net::Telnet would work in its place?

The cake is a lie.
The cake is a lie.
The cake is a lie.

  • Comment on Re: Equivalent of spawn_pty in ActivePerl.

Replies are listed 'Best First'.
Re^2: Equivalent of spawn_pty in ActivePerl.
by skely (Initiate) on Mar 31, 2008 at 14:28 UTC
    Well, I am basically trying to write an module similar to IO::React (With changes in Pattern Matching). 1) Invoke a 3rdparth Config Executable in console mode. 2) Read the inputs, analyze them, and provide the necessary values. So, I am looking for a windows equivalent of the below command, my ($pid,$fh)=spawn_pty("3rdparty_config_exec -console"); any thoughts folks?