summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFahim2014-09-01 15:20:41 +0530
committerFahim2014-09-01 15:20:41 +0530
commit0190fa1cbad29ba0dbdbc879448cc72dfbe334a6 (patch)
treeeab49e37ed047890ce0e2642c623fea7afd15fcd
parentb6bffde17ae54f4aefd517abcdcc4d82d0686885 (diff)
downloadFreeEDA-0190fa1cbad29ba0dbdbc879448cc72dfbe334a6.tar.gz
FreeEDA-0190fa1cbad29ba0dbdbc879448cc72dfbe334a6.tar.bz2
FreeEDA-0190fa1cbad29ba0dbdbc879448cc72dfbe334a6.zip
Subject: Changes in newProject.py
Description: Changes calling method of kicadtongspice as well as Model Builder.
-rw-r--r--OSCAD/forntEnd/newProject.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/OSCAD/forntEnd/newProject.py b/OSCAD/forntEnd/newProject.py
index 0f24201..38018bb 100644
--- a/OSCAD/forntEnd/newProject.py
+++ b/OSCAD/forntEnd/newProject.py
@@ -256,7 +256,8 @@ class ProjectParam(template.MyTemplate):
self.text.yview(END)
# Call all pending idle tasks, without processing any other events.
self.update_idletasks()
- command="xterm -e \""+self.OSCAD_HOME+"/kicadtoNgspice/KicadtoNgspice.py "+self.projectName+".cir 1\""
+ command="xterm -e python "+self.OSCAD_HOME+"/kicadtoNgspice/KicadtoNgspice.py "+self.projectName+".cir 1"
+ #command=self.OSCAD_HOME+"/kicadtoNgspice/KicadtoNgspice.py "+self.projectName+".cir 1\""
try:
thread.start_new_thread(self.call_system,(command,))
except Exception,err:
@@ -282,7 +283,8 @@ class ProjectParam(template.MyTemplate):
self.text.yview(END)
# Call all pending idle tasks, without processing any other events.
self.update_idletasks()
- command="xterm -e \""+self.OSCAD_HOME+"/modelEditor/modelEditor.py " +self.projectName+".cir 1\""
+ #command="xterm -e \""+self.OSCAD_HOME+"/modelEditor/modelEditor.py " +self.projectName+".cir 1\""
+ command=self.OSCAD_HOME+"/modelEditor/modelEditor.py "+self.projectName+".cir 1"
try:
thread.start_new_thread(self.call_system,(command,))
except Exception,err: