diff options
Diffstat (limited to 'src/ngspiceSimulation')
-rw-r--r-- | src/ngspiceSimulation/NgspiceWidget.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/ngspiceSimulation/NgspiceWidget.py b/src/ngspiceSimulation/NgspiceWidget.py index 6e9d4fe1..5d493a42 100644 --- a/src/ngspiceSimulation/NgspiceWidget.py +++ b/src/ngspiceSimulation/NgspiceWidget.py @@ -40,8 +40,9 @@ class NgspiceWidget(QtWidgets.QWidget): os.chdir(tempdir) else: # For Linux OS - self.command = "cd " + projPath + ";ngspice -r " + command.replace(".cir.out",".raw") + \ - " " + command + self.command = "cd " + projPath + \ + ";ngspice -r " + command.replace(".cir.out",".raw") + \ + " " + command # Creating argument for process self.args = ['-hold', '-e', self.command] self.process.start('xterm', self.args) |