I am making a python program that launches a bash script that shows debugging signals of another program. What I want my python program to do is read the debugging info the bash script is sending out, so python can parse it to make it more human-readable.
However, the thing is that I can't find a way to get the output of that bash script. The bash script itself never ends on its own, so the usual methods ( like subprocess.Popen ) I keep finding of reading an output from a bash script didn't seem to work.
Any ideas what I can do?