# HG changeset patch
# User GP Orcullo <kinsamanka@gmail.com>
# Date 1667962740 -28800
# Node ID a26453d1c54d0fdd8558dcdac626e116a927bf0f
# Parent  1fbc900ca1ce6b46c750c2e650591682b20dfd69
pythonw is used on OSX

diff -r 1fbc900ca1ce -r a26453d1c54d LocalRuntimeMixin.py
--- a/LocalRuntimeMixin.py	Sun Oct 30 13:20:58 2022 +0800
+++ b/LocalRuntimeMixin.py	Wed Nov 09 10:59:00 2022 +0800
@@ -10,8 +10,8 @@
 from util.ProcessLogger import ProcessLogger
 from util.paths import Bpath
 
-LocalRuntimeInterpreterPath = \
-    os.environ.get("BEREMIZPYTHONPATH", sys.executable)
+_exec = sys.executable if "darwin" not in sys.platform else sys.executable + 'w'
+LocalRuntimeInterpreterPath = os.environ.get("BEREMIZPYTHONPATH", _exec)
 
 LocalHost = os.environ.get("BEREMIZ_LOCAL_HOST", "localhost")