From 0c89b3ec22bb5d9b52f016b911a6da8bb1c622bf Mon Sep 17 00:00:00 2001 From: Joel Krauska Date: Fri, 21 Nov 2025 11:52:07 -0800 Subject: [PATCH] use sys.executable --- mvrun.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/mvrun.py b/mvrun.py index 40c740b..469d9f4 100644 --- a/mvrun.py +++ b/mvrun.py @@ -99,9 +99,7 @@ def main(): # Add --config runtime argument parser.add_argument('--config', help="Path to the configuration file.", default='config.ini') parser.add_argument('--pid_dir', help="PID files path.", default='.') - parser.add_argument( - '--py_exec', help="Path to the Python executable.", default='./env/bin/python' - ) + parser.add_argument('--py_exec', help="Path to the Python executable.", default=sys.executable) args = parser.parse_args() # PID file paths