nsat / pypredict

Spire port of predict open-source tracking library
GNU General Public License v2.0
64 stars 17 forks source link

Make hashbang portable across various systems #26

Closed Echelon9 closed 6 years ago

Echelon9 commented 6 years ago

Best practice is to use /usr/bin/env <something> rather than a direct link.

This approach invokes whatever version of <something> appears first in $PATH. Importantly, this respects the user's choice in situations like virtualenv's and allows the scripts to be run on a wider range of platforms.

jtrutna commented 6 years ago

Yup.