summaryrefslogtreecommitdiff
path: root/src/ngspiceSimulation/NgspiceWidget.py
diff options
context:
space:
mode:
authorrahulp132022-02-22 00:40:05 +0530
committerrahulp132022-02-22 00:50:13 +0530
commit0817c3856b05037037f9fe5fe54f233e913a97bd (patch)
treee98bb98074d9fb95088a16c33217b48f6c74edd0 /src/ngspiceSimulation/NgspiceWidget.py
parent5000da993e5d83bc4306a556da4ccc254145bd31 (diff)
downloadeSim-0817c3856b05037037f9fe5fe54f233e913a97bd.tar.gz
eSim-0817c3856b05037037f9fe5fe54f233e913a97bd.tar.bz2
eSim-0817c3856b05037037f9fe5fe54f233e913a97bd.zip
Updated MSYS paths
Diffstat (limited to 'src/ngspiceSimulation/NgspiceWidget.py')
-rw-r--r--src/ngspiceSimulation/NgspiceWidget.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ngspiceSimulation/NgspiceWidget.py b/src/ngspiceSimulation/NgspiceWidget.py
index c068d0de..6d64181d 100644
--- a/src/ngspiceSimulation/NgspiceWidget.py
+++ b/src/ngspiceSimulation/NgspiceWidget.py
@@ -29,13 +29,13 @@ class NgspiceWidget(QtWidgets.QWidget):
parser_nghdl.read(os.path.join(
home, os.path.join('.nghdl', 'config.ini')))
- msys_bin = parser_nghdl.get('COMPILER', 'MSYS_HOME')
+ msys_home = parser_nghdl.get('COMPILER', 'MSYS_HOME')
tempdir = os.getcwd()
projPath = self.obj_appconfig.current_project["ProjectName"]
os.chdir(projPath)
self.command = 'cmd /c '+'"start /min ' + \
- msys_bin + "/mintty.exe ngspice -p " + command + '"'
+ msys_home + "/usr/bin/mintty.exe ngspice -p " + command + '"'
self.process.start(self.command)
os.chdir(tempdir)