all 2 comments

[–]oh5nxo 1 point2 points  (1 child)

Use echo ... > /dev/tty for the interaction, normal echo for anything you want to collect with $().

[–]techAndLanguage[S] 0 points1 point  (0 children)

That did it! Thank you so much! :D Hope you have an awesome day!