Skip to content

Commit 08035d9

Browse files
committed
Independent process / no control
1 parent cf19ac2 commit 08035d9

1 file changed

Lines changed: 1 addition & 8 deletions

File tree

tools/Python/mcgui/mcgui.py

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -474,14 +474,7 @@ def vis_run(self, tool=''):
474474

475475
self.__emitter.status('Starting visualisation in background shell...')
476476
self.__emitter.message(runstr, gui=False)
477-
if not os.name=='nt':
478-
# run simulation in a background thread
479-
self.__runthread = McRunQThread()
480-
self.__runthread.cmd = runstr
481-
self.__runthread.cwd = os.path.dirname(self.__instrFile)
482-
self.__runthread.start()
483-
else:
484-
subprocess.Popen(runstr, shell=True)
477+
subprocess.Popen(runstr, shell=True)
485478

486479
def __runFinished(self, process_returncode):
487480
self.__fireSimStateUpdate()

0 commit comments

Comments
 (0)