…bug where longrunning shell commands were not having their output captured in realtime. I had to add threading.Lock()'s and read date using iter and a buffer because the Popen.stdout.readline() function enters a deadlock when using stdout and stderr.