windows - Why can't Git Bash run my executable? -
i on git-for-windows git bash. can't run executable on command line:
pedr@abc-07 mingw64 /c/dev $ ls sqlite3.exe sqlite3.exe* pedr@abc-07 mingw64 /c/dev $ sqlite3 bash: sqlite3: command not found
why so?
to run program in current directory in bash, put ./
in front of it. in case:
$ ./sqlite3.exe
when run sqlite3
, bash program name in directories of path
environment variable, default includes standard locations executables /usr/local/bin
not current directory. see here more info on that.
Comments
Post a Comment