diff options
author | nilshah98 | 2019-06-11 17:05:34 +0530 |
---|---|---|
committer | nilshah98 | 2019-06-13 12:15:50 +0530 |
commit | 9cee4f091edb7c7b1b06362f6bf2cba28c3fe9ba (patch) | |
tree | 4f62865f4f17a1ccd6eb01c0438b387521f4c0fe /src/projManagement | |
parent | fd8107b2f5662851dd5d3a7388e46d6be1eb5125 (diff) | |
download | eSim-9cee4f091edb7c7b1b06362f6bf2cba28c3fe9ba.tar.gz eSim-9cee4f091edb7c7b1b06362f6bf2cba28c3fe9ba.tar.bz2 eSim-9cee4f091edb7c7b1b06362f6bf2cba28c3fe9ba.zip |
gitignore updated, .py.bak files removed
Diffstat (limited to 'src/projManagement')
-rw-r--r-- | src/projManagement/Worker.py.bak | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/src/projManagement/Worker.py.bak b/src/projManagement/Worker.py.bak deleted file mode 100644 index 575ea12c..00000000 --- a/src/projManagement/Worker.py.bak +++ /dev/null @@ -1,46 +0,0 @@ -#=============================================================================== -# -# FILE: WorkerThread.py -# -# USAGE: --- -# -# DESCRIPTION: This class open all third party application using QT Thread -# -# OPTIONS: --- -# REQUIREMENTS: --- -# BUGS: --- -# NOTES: --- -# AUTHOR: Fahim Khan, fahim.elex@gmail.com -# ORGANIZATION: eSim team at FOSSEE, IIT Bombay. -# CREATED: Tuesday 24 Feb 2015 -# REVISION: --- -#=============================================================================== -from PyQt4 import QtCore -import subprocess -from configuration.Appconfig import Appconfig - -class WorkerThread(QtCore.QThread): - """ - This is Thread class use to run the command - """ - def __init__(self,args): - QtCore.QThread.__init__(self) - self.args = args - - - def __del__(self): - self.wait() - - def run(self): - print("Worker Thread Calling Command :",self.args) - self.call_system(self.args) - - def call_system(self,command): - procThread = Appconfig() - proc = subprocess.Popen(command.split()) - procThread.procThread_list.append(proc) - procThread.proc_dict[procThread.current_project['ProjectName']].append(proc.pid) - - - - |