mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-12-28 05:35:07 +00:00
fix uv on linux (#17139)
This commit is contained in:
parent
d4f02b8916
commit
6685e532df
@ -41,7 +41,8 @@ def patch():
|
||||
|
||||
modified_command = ["uv", "pip", *cmd]
|
||||
|
||||
result = subprocess.__original_run([*modified_command, *_args], **_kwargs)
|
||||
cmd_str = shlex.join([*modified_command, *_args])
|
||||
result = subprocess.__original_run(cmd_str, **_kwargs)
|
||||
if result.returncode != 0:
|
||||
return subprocess.__original_run(*args, **kwargs)
|
||||
return result
|
||||
|
||||
Loading…
Reference in New Issue
Block a user