equal
deleted
inserted
replaced
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 |