I'm writing Perl code that needs to be cross-platform. It requires I open a program and be able to write to its STDIN and read its STDOUT. (The program offers its own command-line interface.) I'm using IO::Pty::Easy to do this for *NIX.
Is there some way to be able to do this in Windows? I just need to be able to write commands to the program and read from it.
Thanks!
EDIT: Turns out my program is expecting a tty, so open2() doesn't work..
In reply to Windows alternative to IO::Pty by azredwing
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |