0

I'm following a build process within mingw-w64.

Contains several instructions to type a python file which is on $PATH.

How do I set up mingw-w64 to allow that? Currently I need to type python3 followed by the full path of the py file.

P45 Imminent
  • 8,319
  • 4
  • 35
  • 78
  • Duplicate of https://stackoverflow.com/questions/37104273/how-to-set-aliases-in-the-git-bash-for-windows – KevinLee Sep 13 '22 at 15:10

1 Answers1

0

The shebang line (= first line starting with #!) is not supported in Windows, so you have to call the python executable with the script as first argument (and any arguments after that).

Brecht Sanders
  • 6,215
  • 1
  • 16
  • 40