plugger.py
changeset 304 9a731a435403
parent 301 87c925eaaa3a
child 309 6eb074f0dae9
equal deleted inserted replaced
303:453487dba0a6 304:9a731a435403
   983     def launch_wxglade(self,options, wait=False):
   983     def launch_wxglade(self,options, wait=False):
   984         from wxglade import __file__ as fileName
   984         from wxglade import __file__ as fileName
   985         path    = os.path.dirname(fileName)
   985         path    = os.path.dirname(fileName)
   986         glade   = os.path.join(path,'wxglade.py')
   986         glade   = os.path.join(path,'wxglade.py')
   987         mode = {False:os.P_NOWAIT, True:os.P_WAIT}[wait]
   987         mode = {False:os.P_NOWAIT, True:os.P_WAIT}[wait]
   988         print (mode,sys.executable,[sys.executable]+[glade]+options)
       
   989         os.spawnv(mode,sys.executable,[sys.executable]+[glade]+options)
   988         os.spawnv(mode,sys.executable,[sys.executable]+[glade]+options)
   990 
   989 
   991     #######################################################################
   990     #######################################################################
   992     #
   991     #
   993     #                C CODE GENERATION METHODS
   992     #                C CODE GENERATION METHODS