I am working on a GUI version of a executable file. The file have a option as
exefile --output output.txt
My task is not save to output.txt, but can use some information in the file to plot a graph? I have some idea to plot the graph using pyqtgraph. The thing is how to get it as a text stream? Any thoughts?
Second question is similar but little more difficult. The same executable file can also output to a .wav
exefile --outwav outwav.wav
Instead of saving a .wav file, how to plot it out, in some of "real-time" way? Many thanks.
Note:
My intention is to build a wrapper, and I don't have any control inside the executable file.
Ideally the executable file should run continuously, while I plot output/wave during the time