(I'm not sure which msys2 I have, I just downloaded it today.)
I'm trying to launch an executable file by typing its name in the shell, but the shell's giving me bash: manage.py: command not found. I confirmed the file has the executable flag for all users. I confirmed the shebang content, which is /usr/bin/env python, works on its own. But when I type manage.py in the shell I still get an error. It worked in the old Msys.
Any idea why?
Unless your script is in
PATH, you need to run it as./manage.py. Could this be the problem?Right, this is my mistake. The ticket can be closed.