Should do it. See perlopentut.open PROG,"|/some/program" or die "Can't fork program: $!"; print PROG "input line 1\n"; print PROG "input line 2\n"; close PROG;
For interactive sessions, see Expect and IPC::Open3 or IPC::Open2
In reply to Re: running an interactive only program using perl
by Joost
in thread running an interactive only program using perl
by Angharad
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |