I have this specific problem, I am making an app that needs me to access the console output from an app that I don't have access to modify the code and save it to a text file while the app is running (save the console output to a file "on the go" every time the app output something to console)
I've try some different things (tmux, GNU script, python subprocess, or even the build in cmd > / | tee log.txt) but unfortunately, I have no success.
I know it sounds a bit stupid, but I'm sorry, I'm a beginner. I hope someone can help me with it