diff --git a/main.py b/main.py index 19fce07..3622a6f 100644 --- a/main.py +++ b/main.py @@ -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() )