From c195c540a768720d7b290e3023e421c11e8ecec6 Mon Sep 17 00:00:00 2001 From: Daylin Morgan Date: Tue, 13 Jun 2023 13:55:32 -0500 Subject: [PATCH] fix: use scriptpath --- src/viv/viv.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/viv/viv.py b/src/viv/viv.py index 744c808..9f97b84 100755 --- a/src/viv/viv.py +++ b/src/viv/viv.py @@ -52,7 +52,7 @@ from typing import ( from urllib.error import HTTPError from urllib.request import urlopen -__version__ = "23.5a5-30-g9752582-dev" +__version__ = "23.5a5-30-g838b585-dev" class Spinner: @@ -1433,7 +1433,9 @@ class Viv: vivenv.touch() vivenv.meta.write() - sys.exit(subprocess.run([vivenv.python, script, *rest]).returncode) + sys.exit( + subprocess.run([vivenv.python, scriptpath, *rest]).returncode + ) else: _, bin = self._pick_bin(reqs, bin)