IPC::Open2 or IPC::Open3 might work. Expect.pm would be another option, especially good with programs that really, really want to talk to a terminal. And if you want to do it remotely, Net::Telnet would also be an option.
--Bob Niederman, http://bob-n.com
All code given here is UNTESTED unless otherwise stated.
In reply to Re: Best way to communicate with a shell like process?
by bobn
in thread Best way to communicate with a shell like process?
by BUU
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |