
March 7, 2011
5:34 a.m.
On Mon, Mar 7, 2011 at 3:19 PM, Mark Hammond <skippy.hammond@gmail.com> wrote:
Without putting too much thought into it, I think a simple scheme could work where the path must either be "/usr/bin/python[23]?" or a fully-qualified path to a Python executable. IIUC, this should allow most scripts to have a shebang line that "does the right thing" on *nix and Windows systems while still offering maximum flexibility on Windows.
Such a scheme should be able to handle "/usr/bin/env python2" and variants as well. Cheers, Nick. -- Nick Coghlan | ncoghlan@gmail.com | Brisbane, Australia