PyQt: how to view stdout and stderr in real time without the possibility of accidentally closing the terminal

23 hours ago 1
ARTICLE AD BOX

I have a fairly complex PyQt application running on Windows that runs with a terminal (python.exe instead of pythonw.exe).

It's always been quite handy to be able to see stdout and stderr in real time by just watching the terminal.

The main downfall of the terminal is the possiblity of accidentally / inadvertently killing the whole application by clicking the red X to close the terminal. I've seen this happen reflexively when a user is quickly trying to clean up screen real estate by getting rid of 'extra' windows.

What are the options to still see stdout and stderr in real time, while eliminating the possibility of inadvertently killing the whole application in this manner?

stdout and stderr are already duplicated to a file using the logging module, for detailed analysis later if needed.

Read Entire Article