fix: quote uv args in bash -c to prevent shell redirection (#3857)
* fix: quote uv args in bash -c to prevent shell redirection
When `hf jobs uv run --with 'torch>=2.1'` is used with local files,
the generated bash -c command contains unquoted arguments like
`uv run --with torch>=2.1 script.py`. Bash interprets `>` as a
redirection operator, causing uv to never receive the script argument
and exit silently after installing dependencies.
Shell-quote all arguments (uv_args, script, script_args) when building
the bash -c command string.
* Update src/huggingface_hub/hf_api.py
---------
Co-authored-by: Lucain <lucain@huggingface.co>