I am using Vim terminal (:term) to print the output of my Python scripts in a separate window:
:term python3 myfile.py
And it works, but when I'm trying to redirect input from a file:
:term python3 myfile.py < input.txt
it doesn't do it and just sits there waiting for input.
How do I redirect input in Vim command mode using :term?