mirror of
https://github.com/daylinmorgan/viv.git
synced 2024-11-09 19:13:14 -06:00
fix: properly re-use environments
This commit is contained in:
parent
0411f81159
commit
5febbe0267
1 changed files with 6 additions and 7 deletions
|
@ -52,7 +52,7 @@ from typing import (
|
||||||
from urllib.error import HTTPError
|
from urllib.error import HTTPError
|
||||||
from urllib.request import urlopen
|
from urllib.request import urlopen
|
||||||
|
|
||||||
__version__ = "23.5a7-4-g7100243-dev"
|
__version__ = "23.5a7-5-g0411f81-dev"
|
||||||
|
|
||||||
|
|
||||||
class Spinner:
|
class Spinner:
|
||||||
|
@ -1528,12 +1528,11 @@ class Viv:
|
||||||
else:
|
else:
|
||||||
vivenv.create()
|
vivenv.create()
|
||||||
vivenv.install_pkgs()
|
vivenv.install_pkgs()
|
||||||
vivenv.touch()
|
|
||||||
vivenv.meta.write()
|
vivenv.touch()
|
||||||
vivenv.bin_exists(bin)
|
vivenv.meta.write()
|
||||||
sys.exit(
|
vivenv.bin_exists(bin)
|
||||||
subprocess.run([vivenv.path / "bin" / bin, *rest]).returncode
|
sys.exit(subprocess.run([vivenv.path / "bin" / bin, *rest]).returncode)
|
||||||
)
|
|
||||||
|
|
||||||
|
|
||||||
class Arg:
|
class Arg:
|
||||||
|
|
Loading…
Reference in a new issue