diff options
Diffstat (limited to 'src/projManagement/Worker.py')
-rw-r--r-- | src/projManagement/Worker.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/projManagement/Worker.py b/src/projManagement/Worker.py index 4cfeefe9..f40fd724 100644 --- a/src/projManagement/Worker.py +++ b/src/projManagement/Worker.py @@ -52,6 +52,7 @@ class WorkerThread(QtCore.QThread): @return None """ + def __del__(self): self.wait() @@ -65,6 +66,7 @@ class WorkerThread(QtCore.QThread): @return None """ + def run(self): print("Worker Thread Calling Command :", self.args) self.call_system(self.args) @@ -80,6 +82,7 @@ class WorkerThread(QtCore.QThread): be executed in different child processes (see subproces.Popen()) """ + def call_system(self, command): procThread = Appconfig() proc = subprocess.Popen(command.split()) |