diff --git a/web_interface/blueprints/api_v3.py b/web_interface/blueprints/api_v3.py index fe9c807d..8309524a 100644 --- a/web_interface/blueprints/api_v3.py +++ b/web_interface/blueprints/api_v3.py @@ -5053,7 +5053,7 @@ sys.exit(proc.returncode) try: result = subprocess.run( - ['python3', wrapper_path], + [sys.executable, wrapper_path], capture_output=True, text=True, timeout=120, @@ -5114,7 +5114,7 @@ sys.exit(proc.returncode) try: result = subprocess.run( - ['python3', wrapper_path], + [sys.executable, wrapper_path], capture_output=True, text=True, timeout=120, @@ -5209,7 +5209,7 @@ sys.exit(proc.returncode) else: # Simple script execution result = subprocess.run( - ['python3', str(script_file)], + [sys.executable, str(script_file)], capture_output=True, text=True, timeout=60, @@ -5320,7 +5320,7 @@ sys.exit(proc.returncode) try: result = subprocess.run( - ['python3', wrapper_path], + [sys.executable, wrapper_path], capture_output=True, text=True, timeout=120, @@ -5426,7 +5426,7 @@ def authenticate_ytm(): # Run the authentication script result = subprocess.run( - ['python3', str(auth_script)], + [sys.executable, str(auth_script)], capture_output=True, text=True, timeout=60,