Why can't Git Bash run my executable?

前端 未结 3 1140
挽巷
挽巷 2021-01-31 01:39

I am on git-for-windows Git Bash. I can\'t run an executable on the command line:

Pedr@Abc-07 MINGW64 /c/dev
$ ls sqlite3.exe
sqlite3.exe*

Pedr@Abc-07 MINGW64          


        
3条回答
  •  梦如初夏
    2021-01-31 02:18

    It's because you're under a is a runtime environment for gcc, that give you support to binaries native under Windows, but you can run any exe as shell using ./ (local execute) Take a look to documentation of this tool: http://sourceforge.net/p/mingw-w64/wiki2/FAQ/

提交回复
热议问题