summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ngspiceSimulation/NgspiceWidget.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/ngspiceSimulation/NgspiceWidget.py b/src/ngspiceSimulation/NgspiceWidget.py
index 8114f56d..52f6b87d 100644
--- a/src/ngspiceSimulation/NgspiceWidget.py
+++ b/src/ngspiceSimulation/NgspiceWidget.py
@@ -51,3 +51,9 @@ class NgspiceWidget(QtWidgets.QWidget):
[self.obj_appconfig.current_project['ProjectName']].append(
self.process.pid())
)
+ self.process = QtCore.QProcess(self)
+ self.process = QtCore.QProcess(self)
+ self.command ="ngspice -b -r " + command.replace(".cir.out",".raw") + \
+ " -o " + command.replace(".cir.out",".out") + " " + command + \
+ "; gaw " + command.replace(".cir.out",".raw")
+ self.process.start('sh', ['-c', self.command])