diff options
Diffstat (limited to 'src/projManagement/Worker.py')
-rw-r--r-- | src/projManagement/Worker.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/projManagement/Worker.py b/src/projManagement/Worker.py index 084b8048..f7186913 100644 --- a/src/projManagement/Worker.py +++ b/src/projManagement/Worker.py @@ -18,7 +18,7 @@ from PyQt4 import QtCore import subprocess from configuration.Appconfig import Appconfig - +import os class WorkerThread(QtCore.QThread): """ @@ -27,10 +27,12 @@ class WorkerThread(QtCore.QThread): def __init__(self,args): QtCore.QThread.__init__(self) self.args = args + def __del__(self): self.wait() + def run(self): print "Calling Command:",self.args @@ -41,5 +43,6 @@ class WorkerThread(QtCore.QThread): proc = subprocess.Popen(command.split()) procThread.procThread_list.append(proc) +
\ No newline at end of file |