witty-crayon-22786
07/15/2020, 5:13 PMpython
vs python3
issuewitty-crayon-22786
07/15/2020, 5:14 PMhundreds-father-404
07/15/2020, 5:16 PMpython
or python3
, not python | python3
?witty-crayon-22786
07/15/2020, 5:17 PMwitty-crayon-22786
07/15/2020, 5:17 PMhundreds-father-404
07/15/2020, 5:17 PMpython3
and gamble that <3.6 isn’t used; or put python3.6
, but then no newer Pythons can use the script
Idk if Pex has a more clever shebang mechanismwitty-crayon-22786
07/15/2020, 5:18 PMwitty-crayon-22786
07/15/2020, 5:19 PMhundreds-father-404
07/15/2020, 5:19 PMi think the issue is that the shebang mechanism is built into the kernelHuh, is it really? TIL
witty-crayon-22786
07/15/2020, 5:21 PM$ cat blah.sh
#!/usr/bin/env bash
echo "Running a file that contains some garbage on the end..."
exit 0
dskhsdlajljdssd
$ ./blah.sh
Running a file that contains some garbage on the end...
witty-crayon-22786
07/15/2020, 5:22 PMwitty-crayon-22786
07/15/2020, 5:22 PMwitty-crayon-22786
07/15/2020, 6:16 PMwitty-crayon-22786
07/15/2020, 6:17 PMwitty-crayon-22786
07/15/2020, 7:01 PM