From 0190fa1cbad29ba0dbdbc879448cc72dfbe334a6 Mon Sep 17 00:00:00 2001 From: Fahim Date: Mon, 1 Sep 2014 15:20:41 +0530 Subject: Subject: Changes in newProject.py Description: Changes calling method of kicadtongspice as well as Model Builder. --- OSCAD/forntEnd/newProject.py | 6 ++++-- 1 file 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: -- cgit