News for hackers. Stuff that matters.
Re:Uv is the best thing to happen to the Python ecosystem in... by zahlman on Wednesday October 29, 2025 @04:07PM (#45752365)
> Based on the man page it doesn’t appear to be doing anything useful here

The man page tells me:

  -S, --split-string=S
         process and split S into separate arguments; used to pass multi‐
         ple arguments on shebang lines
Without that, the system may try to treat the entirety of "uv run --script" as the program name, and fail to find it. Depending on your env implementation and/or your shell, this may not be needed.

See also: https://unix.stackexchange.com/questions/361794

Re:Uv is the best thing to happen to the Python ecosystem in... by moleperson on Wednesday October 29, 2025 @04:09PM (#45752385)
Right, I didn’t think about the shebang case being different. Thanks!