There is a Perl module for it (https://metacpan.org/pod/Expect).
In reply to Re: Run an interactive shell command from Perl script
by Laurent_R
in thread Run an interactive shell command from Perl script
by nofear_asa
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |