in reply to Best way to communicate with a shell like process?

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.

  • Comment on Re: Best way to communicate with a shell like process?