diff --git a/bazarr.py b/bazarr.py index 9e22a2ef9..48a822268 100644 --- a/bazarr.py +++ b/bazarr.py @@ -27,7 +27,7 @@ for opt, arg in opts: def start_bazarr(): - script = ['python','bazarr/main.py'] + globals()['arguments'] + script = [sys.executable, os.path.normcase(os.path.join(os.path.dirname(__file__), 'bazarr/main.py'))] + globals()['arguments'] pidfile = os.path.normcase(os.path.join(os.path.dirname(__file__), 'bazarr.pid')) if os.path.exists(pidfile):