--- a/LocalRuntimeMixin.py Wed Jul 27 21:34:23 2022 +0200
+++ b/LocalRuntimeMixin.py Thu Jul 28 13:24:49 2022 +0200
@@ -1,5 +1,7 @@
@@ -7,6 +9,11 @@
from util.ProcessLogger import ProcessLogger
from util.paths import Bpath
+LocalRuntimeInterpreterPath = \ + os.environ["BEREMIZPYTHONPATH"] \ + if os.environ.has_key("BEREMIZPYTHONPATH") \ class LocalRuntimeMixin():
def __init__(self, log, use_gui=True):
@@ -27,7 +34,7 @@
self.local_runtime = ProcessLogger(
"\"%s\" \"%s\" -p %s -i localhost %s %s" % (
+ LocalRuntimeInterpreterPath, Bpath("Beremiz_service.py"),
{False: "-x 0", True: "-x 1"}[self.use_gui],