I have to run two processes parallel and continously process the output of them.
The basic execution should be started in a bash script which executes the python scripts as follows:
python somefile.py &
python someotherfile.py &
Both of them run for a long time and produce log outputs. I want to process the outputs of both of them (it is not important which program generated the log output).
Is it possible to redirect the output to a function which processes it?