summaryrefslogtreecommitdiff
path: root/src/projManagement/Worker.py
diff options
context:
space:
mode:
authorfahim2015-05-14 19:21:26 +0530
committerfahim2015-05-14 19:21:26 +0530
commit9469147242465102059e0703b9532e17d63983bc (patch)
tree5e504a30d6ce7a2677f9108769b406111750011f /src/projManagement/Worker.py
parenta31c044d8d8307060664e2b0025054ca0584016d (diff)
downloadeSim-9469147242465102059e0703b9532e17d63983bc.tar.gz
eSim-9469147242465102059e0703b9532e17d63983bc.tar.bz2
eSim-9469147242465102059e0703b9532e17d63983bc.zip
Subject: openNgspice function completed
Description: openNgspice function completed
Diffstat (limited to 'src/projManagement/Worker.py')
-rw-r--r--src/projManagement/Worker.py5
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