I currently have a background process that is taking in an input, which is generated using another program.
There are a lot of guides on how to redirect output FROM a background process, but may I know if there is a way to redirect output (i.e. generator.py) TO my background process?
An idea of how it may work (but unfortunately doesn't) is:
python generator.py | fg