redirected subprocess.Popen streams to system stdout and stderr

This commit is contained in:
K4YT3X
2020-12-13 16:53:55 -05:00
parent f4be9cc596
commit eee43def3b
8 changed files with 15 additions and 8 deletions

View File

@@ -130,4 +130,4 @@ class WrapperMain:
self.print_lock.acquire()
Avalon.debug_info(f'[upscaler] Subprocess {os.getpid()} executing: {" ".join(execute)}')
self.print_lock.release()
return subprocess.Popen(execute)
return subprocess.Popen(execute, stdout=sys.stdout, stderr=sys.stderr)