summaryrefslogtreecommitdiff
path: root/src/projManagement/Worker.py
diff options
context:
space:
mode:
authorfahim2015-04-22 17:52:04 +0530
committerfahim2015-04-22 17:52:04 +0530
commit342730ed59f75ebe1b5df0f886ae9e6bcd787ee6 (patch)
tree759bb8348608c67057aa58b4c654d9cb2339f62d /src/projManagement/Worker.py
parentaf98d04dd0a438b7dd63ff72c71f0ceb695fe704 (diff)
downloadeSim-342730ed59f75ebe1b5df0f886ae9e6bcd787ee6.tar.gz
eSim-342730ed59f75ebe1b5df0f886ae9e6bcd787ee6.tar.bz2
eSim-342730ed59f75ebe1b5df0f886ae9e6bcd787ee6.zip
Subject: Added Device Libarary Tab.Few Changes in Workspace class.
Description: Completed the Device Library auto creation of Widget. Added the information to schematicInfo.Hence to the final ".cir.out" file. Added sample device library. Deleted/Comment unwanted print statement. Added details of function in the comment.
Diffstat (limited to 'src/projManagement/Worker.py')
-rw-r--r--src/projManagement/Worker.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/projManagement/Worker.py b/src/projManagement/Worker.py
index 641d6ee8..084b8048 100644
--- a/src/projManagement/Worker.py
+++ b/src/projManagement/Worker.py
@@ -21,6 +21,9 @@ 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
@@ -30,13 +33,13 @@ class WorkerThread(QtCore.QThread):
def run(self):
- print "Calling :",self.args
+ print "Calling Command:",self.args
self.call_system(self.args)
def call_system(self,command):
- print "System called"
procThread = Appconfig()
proc = subprocess.Popen(command.split())
procThread.procThread_list.append(proc)
+
\ No newline at end of file