summaryrefslogtreecommitdiff
path: root/OSCAD/forntEnd/newProject.py
diff options
context:
space:
mode:
Diffstat (limited to 'OSCAD/forntEnd/newProject.py')
-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: