From 193d284f377ccf963bbd762bdb03f3daae2fa1af Mon Sep 17 00:00:00 2001 From: komalsheth236 Date: Tue, 22 Sep 2015 14:31:02 +0530 Subject: Nghdl Processes Terminated --- src/ngspiceSimulation/NgspiceWidget.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/ngspiceSimulation') 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() -- cgit