IDE: prevent IDE/CLI process surviving to sys.exit() by using deamon threads to monitor external processes output streams.
--- a/util/ProcessLogger.py Thu Feb 02 17:48:51 2023 +0100
+++ b/util/ProcessLogger.py Fri Feb 03 16:40:04 2023 +0100
@@ -47,6 +47,7 @@
self.callback = callback
self.endcallback = endcallback
self.fd = fd
+ self.daemon = True
def run(self):
outchunk = None