Commit 8ef153a1 authored by Yakubov, Sergey's avatar Yakubov, Sergey
Browse files

fix return code

parent 0ece9712
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -312,7 +312,8 @@ class ProcessThread(threading.Thread):

    def run(self):
        print('STARTING PROCESS:', self.command)
        self.return_code = subprocess.run(self.command, shell=True)
        res = subprocess.run(self.command, shell=True)
        self.return_code = res.returncode


# -------------------------------------------------------------------------