News for hackers. Stuff that matters.
Re:Go Away Python by rented_mule on Tuesday December 30, 2025 @11:45AM (#46435107)
I just tried the one you are replying to and it worked great on macOS. I frequently use a variant of this on my Mac.
Re:Go Away Python by jonhohle on Tuesday December 30, 2025 @07:30PM (#46439956)
That’s interesting. I wonder when that changed. Maybe FreeBSD supports multi arg shebangs now, too
Re:Go Away Python by shakna on Tuesday December 30, 2025 @09:34PM (#46440698)
The -S argument to env splits the argument on whitespace.

The shell doesn't support anything, it just passes the string to env.

So beware quoting and other delimiters that won't work the way you expect.