added stderr

This commit is contained in:
Pünkösd Marcell 2021-12-12 19:02:23 +01:00
parent da6771a0fb
commit c40c424d66

View File

@ -74,6 +74,7 @@ class RealSlimShadyThread(threading.Thread):
device.proc = subprocess.Popen(
device.executable.split(' ') + [str(device.id)],
stdout=device.log_fd,
stderr=device.log_fd,
preexec_fn=lambda: os.setpgrp()
)