mirror of
https://github.com/frappe/bench.git
synced 2025-01-10 09:02:10 +00:00
fix: Pass abs path from get_env_cmd
This commit is contained in:
parent
6ae1997bff
commit
10473b6007
@ -30,10 +30,10 @@ def get_env_cmd(cmd: str, bench_path: str = ".") -> str:
|
|||||||
)
|
)
|
||||||
|
|
||||||
if existing_python_bins:
|
if existing_python_bins:
|
||||||
return existing_python_bins[0]
|
return os.path.abspath(existing_python_bins[0])
|
||||||
|
|
||||||
cmd = cmd.strip("*")
|
cmd = cmd.strip("*")
|
||||||
return os.path.join(bench_path, "env", "bin", cmd)
|
return os.path.abspath(os.path.join(bench_path, "env", "bin", cmd))
|
||||||
|
|
||||||
|
|
||||||
def get_venv_path(verbose=False, python="python3"):
|
def get_venv_path(verbose=False, python="python3"):
|
||||||
|
Loading…
Reference in New Issue
Block a user