summaryrefslogtreecommitdiff
path: root/src/ngspiceSimulation
diff options
context:
space:
mode:
authorkomalsheth2362015-09-22 14:31:02 +0530
committerkomalsheth2362015-09-22 14:31:02 +0530
commit193d284f377ccf963bbd762bdb03f3daae2fa1af (patch)
tree185b7547e717b9053a82b829b30aa05894daff33 /src/ngspiceSimulation
parentbcc0d1b98380f33b9d0c389f5322dc1e880af9e5 (diff)
downloadeSim-193d284f377ccf963bbd762bdb03f3daae2fa1af.tar.gz
eSim-193d284f377ccf963bbd762bdb03f3daae2fa1af.tar.bz2
eSim-193d284f377ccf963bbd762bdb03f3daae2fa1af.zip
Nghdl Processes Terminated
Diffstat (limited to 'src/ngspiceSimulation')
-rw-r--r--src/ngspiceSimulation/NgspiceWidget.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ngspiceSimulation/NgspiceWidget.py b/src/ngspiceSimulation/NgspiceWidget.py
index f2ad973f..4a8c2aba 100644
--- a/src/ngspiceSimulation/NgspiceWidget.py
+++ b/src/ngspiceSimulation/NgspiceWidget.py
@@ -15,11 +15,13 @@ class NgspiceWidget(QtGui.QWidget):
self.layout = QtGui.QVBoxLayout(self)
self.layout.addWidget(self.terminal)
print"command-------->", command
+
if platform.system() == 'Linux':
self.command = "cd "+projPath+";ngspice "+command
#Creating argument for process
self.args = ['-into', str(self.terminal.winId()),'-hold','-e', self.command]
self.process.start('xterm', self.args)
+ self.obj_appconfig.process_obj.append(self.process)
elif platform.system() == 'Windows':
tempdir= os.getcwd()