equal
deleted
inserted
replaced
579 "\"%s\" \"%s\" -p %s -i localhost %s %s"%(sys.executable, |
579 "\"%s\" \"%s\" -p %s -i localhost %s %s"%(sys.executable, |
580 Bpath("Beremiz_service.py"), |
580 Bpath("Beremiz_service.py"), |
581 self.runtime_port, |
581 self.runtime_port, |
582 {False : "-x 0", True :"-x 1"}[taskbaricon], |
582 {False : "-x 0", True :"-x 1"}[taskbaricon], |
583 self.local_runtime_tmpdir), |
583 self.local_runtime_tmpdir), |
584 no_gui=False) |
584 no_gui=False, |
585 self.local_runtime.spin(timeout=500, keyword = "working", kill_it = False) |
585 timeout=500, keyword = "working") |
|
586 self.local_runtime.spin() |
586 return self.runtime_port |
587 return self.runtime_port |
587 |
588 |
588 def KillLocalRuntime(self): |
589 def KillLocalRuntime(self): |
589 if self.local_runtime is not None: |
590 if self.local_runtime is not None: |
590 # shutdown local runtime |
591 # shutdown local runtime |