News for hackers. Stuff that matters.
Re:On env Shebangs by IshKebab on Saturday April 16, 2022 @05:05AM (#31050861)
You should always explicitly use `python3` rather than `python` and hoping it is version 3.
Re:On env Shebangs by tyingq on Saturday April 16, 2022 @09:49AM (#31052296)
Well, even then, you may not get the python3 you expect with "#!/usr/bin/env python3" in a cron job. I imagine a fair amount of this is happening now, with Xcode installing it's own python3 on a bunch of Macs.