0

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

Griz
  • 1
  • 1
  • If the duplicate doesn't solve your problem, look at the others in the [Stack Overflow `subprocess` tag info page](https://stackoverflow.com/tags/subprocess/info) under the "Interacting with a subprocess while it is still running" heading. – tripleee Nov 16 '21 at 12:54

0 Answers0