File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -918,6 +918,10 @@ def call_if_not_none(fct, *args):
918918 ''' shorthand utility for calling a function if it is defined, and otherwise ignoring it '''
919919 if fct :
920920 fct (* args )
921+
922+ if os .name == 'nt' :
923+ cmd = 'start ' + cmd
924+
921925 if not cwd :
922926 cwd = os .getcwd ()
923927
Original file line number Diff line number Diff line change @@ -743,7 +743,7 @@ def handleMcDisplayWeb(self):
743743 DISPLAY = "mxdisplay"
744744 self .emitter .status ('Running ' + DISPLAY + '-webgl-classic...' )
745745 try :
746- cmd = DISPLAY + '-webgl-classic --default -n100 ' + os .path .basename (self .state .getInstrumentFile ()) + '&'
746+ cmd = DISPLAY + '-webgl-classic -y -n100 ' + os .path .basename (self .state .getInstrumentFile ()) + '&'
747747 self .emitter .message (cmd , gui = True )
748748 self .emitter .message ('' , gui = True )
749749
You can’t perform that action at this time.
0 commit comments