当我从 Windows 命令提示符运行命令时: sh ./abc.sh
出现以下错误:
curl: option --compressed: the installed libcurl version doesn't support this
curl: try 'curl --help' for more information
Run Code Online (Sandbox Code Playgroud)
我可以从 cygwin 驱动器运行相同的命令。
如何运行与从 Windows 命令提示符运行相同的命令?
其中,curl 上的命令给出以下结果:
>where curl
C:\Windows\System32\curl.exe
C:\cygwin64\bin\curl.exe
Run Code Online (Sandbox Code Playgroud)