--- a/LocalRuntimeMixin.py Thu Mar 07 21:51:04 2024 +0100
+++ b/LocalRuntimeMixin.py Wed Mar 13 08:38:21 2024 +0100
@@ -33,13 +33,13 @@
self.local_runtime_log.write(_("Starting local runtime...\n"))
self.local_runtime = ProcessLogger(
- self.local_runtime_log,
- ("\"%s\" \"%s\" -p %s -i "+LocalHost+" %s %s") % (
+ self.local_runtime_log,[ LocalRuntimeInterpreterPath,
Bpath("Beremiz_service.py"),
+ "-p", str(self.runtime_port), {False: "-x 0", True: "-x 1"}[self.use_gui],
- self.local_runtime_tmpdir),
+ self.local_runtime_tmpdir], timeout=500, keyword=self.local_runtime_tmpdir,
cwd=self.local_runtime_tmpdir)