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.
| [reply] |
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?
| [reply] |
The closest you'll get are IPC::Open2, IPC::Open3 or IPC::Run. I've not had great success with any of them.
The latter was intended to solve the problems with the former two, but IME it creates as many problems as it solves, and creates several new ones, particularly complexity.
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
| [reply] |