in reply to Run an interactive shell command from Perl script

Hi, you could use expect (see https://en.wikipedia.org/wiki/Expect).

There is a Perl module for it (https://metacpan.org/pod/Expect).

  • Comment on Re: Run an interactive shell command from Perl script