look into IPC::Open3 and possibly IO::Pty
IMHO those are relatively low-level. Personally, I'd recommend IPC::Run, as it supports interactive communication with the subprocesses it runs and can be used in an Expect-like manner, plus a few other advanced features. I showed one example in the node I linked to.
In reply to Re^4: running a backticks command behaves different in command line and browser
by haukex
in thread running a backticks command behaves different in command line and browser
by derion
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |