diff options
author | nilshah98 | 2019-06-25 12:55:20 +0530 |
---|---|---|
committer | nilshah98 | 2019-06-25 12:55:20 +0530 |
commit | c263636b86d204c9500ed2fe58e4f9db74c28bee (patch) | |
tree | fc23c9c31d0821fa0deec33aa452f70df602217d /src/projManagement/Worker.py | |
parent | 73399832febef4407eb8d8a9e57d535f18b18654 (diff) | |
download | eSim-c263636b86d204c9500ed2fe58e4f9db74c28bee.tar.gz eSim-c263636b86d204c9500ed2fe58e4f9db74c28bee.tar.bz2 eSim-c263636b86d204c9500ed2fe58e4f9db74c28bee.zip |
Resolves #100
Diffstat (limited to 'src/projManagement/Worker.py')
-rw-r--r-- | src/projManagement/Worker.py | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/projManagement/Worker.py b/src/projManagement/Worker.py index 99d30ccc..9b9f57e4 100644 --- a/src/projManagement/Worker.py +++ b/src/projManagement/Worker.py @@ -19,6 +19,7 @@ from PyQt4 import QtCore import subprocess from configuration.Appconfig import Appconfig + class WorkerThread(QtCore.QThread): """ Initialise a QThread with the passed arguments @@ -39,8 +40,6 @@ class WorkerThread(QtCore.QThread): QtCore.QThread.__init__(self) self.args = args - - def __del__(self): """ __del__ is a called whenever garbage collection is initialised @@ -54,7 +53,6 @@ class WorkerThread(QtCore.QThread): """ self.wait() - def run(self): """ run is the function that is called, when we start the thread as @@ -77,8 +75,8 @@ class WorkerThread(QtCore.QThread): track processes called @params - :command => (self.args) takes space separated string of comamnds to - be executed in different child processes + :command => (self.args) takes space separated string of\ + comamnds to be executed in different child processes (see subproces.Popen()) """ |