mirror of
https://github.com/daylinmorgan/viv.git
synced 2024-11-09 19:13:14 -06:00
fix: use scriptpath
This commit is contained in:
parent
838b585a52
commit
c195c540a7
1 changed files with 4 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue