From 8bf3e9faab6dfb04d676a5ea413530cdee09744c Mon Sep 17 00:00:00 2001 From: Tim Dettmers Date: Mon, 1 Aug 2022 19:22:41 -0700 Subject: Added full env variable search; CONDA_PREFIX priority. --- bitsandbytes/utils.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'bitsandbytes/utils.py') diff --git a/bitsandbytes/utils.py b/bitsandbytes/utils.py index 8a9fc0e..e1d9460 100644 --- a/bitsandbytes/utils.py +++ b/bitsandbytes/utils.py @@ -2,6 +2,7 @@ import sys import shlex import subprocess +from typing import Tuple def execute_and_return(command_string: str) -> Tuple[str, str]: def _decode(subprocess_err_out_tuple): @@ -19,7 +20,7 @@ def execute_and_return(command_string: str) -> Tuple[str, str]: ).communicate() ) - std_out, std_err = execute_and_return_decoded_std_streams() + std_out, std_err = execute_and_return_decoded_std_streams(command_string) return std_out, std_err -- cgit v1.2.3